fixes: #7940 Use std::string insert to in place of arg sub for std::string static
This commit is contained in:
parent
858c41c946
commit
9811586718
1 changed files with 3 additions and 2 deletions
|
|
@ -22,6 +22,7 @@
|
||||||
#include "arch/IArchMultithread.h"
|
#include "arch/IArchMultithread.h"
|
||||||
#include "base/EventTypes.h"
|
#include "base/EventTypes.h"
|
||||||
#include "base/String.h"
|
#include "base/String.h"
|
||||||
|
#include "common/constants.h"
|
||||||
#include "deskflow/App.h"
|
#include "deskflow/App.h"
|
||||||
#include "net/NetworkAddress.h"
|
#include "net/NetworkAddress.h"
|
||||||
#include "server/Config.h"
|
#include "server/Config.h"
|
||||||
|
|
@ -146,8 +147,8 @@ private:
|
||||||
EventQueueTimer *m_timer;
|
EventQueueTimer *m_timer;
|
||||||
NetworkAddress *m_deskflowAddress;
|
NetworkAddress *m_deskflowAddress;
|
||||||
#if SYSAPI_WIN32
|
#if SYSAPI_WIN32
|
||||||
inline static const std::string CONFIG_NAME = "%s.sgc", kAppName;
|
inline static const std::string CONFIG_NAME = std::string(kAppName) + ".sgc";
|
||||||
#elif SYSAPI_UNIX
|
#elif SYSAPI_UNIX
|
||||||
inline static const std::string CONFIG_NAME = "%s.conf", kAppName;
|
inline static const std::string CONFIG_NAME = std::string(kAppName) + ".conf";
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue