mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
[xswiftbus] Use std::string_view for performance in CDBusMessage
This avoids repeated dynamic memory allocations in dbusMessageHandler methods and elsewhere due to repeatedly constructing temporary strings. std::string_view is a C++17 feature but also part of the Library Fundamentals TS and available in all our compilers.
This commit is contained in:
@@ -5,6 +5,8 @@ TEMPLATE = lib
|
||||
CONFIG += shared plugin
|
||||
CONFIG -= qt
|
||||
|
||||
CONFIG += c++17
|
||||
|
||||
INCLUDEPATH += $$EXTERNALSROOT/common/include/XPLM
|
||||
|
||||
LIBS += -levent_core -ldbus-1
|
||||
|
||||
Reference in New Issue
Block a user