Minor fixes

This commit is contained in:
Lion Kortlepel authored and Lion committed 2021-09-08 19:55:03 +03:00
1 parent 9f0b057c14
commit fd6234bd21
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -57,7 +57,7 @@ public:
static std::string ServerVersion() { return "2.3.0"; }
static std::string ClientVersion() { return "2.0"; }
static std::string PPS() { return mPPS; }
static void SetPPS(std::string NewPPS) { mPPS = NewPPS; }
static void SetPPS(const std::string& NewPPS) { mPPS = NewPPS; }
static inline TSettings Settings {};
@@ -78,7 +78,7 @@ private:
};
std::string ThreadName(bool DebugModeOverride = false);
void RegisterThread(const std::string str);
void RegisterThread(const std::string& str);
#define RegisterThreadAuto() RegisterThread(__func__)
#define KB 1024