summaryrefslogtreecommitdiff
path: root/zen/zstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/zstring.cpp')
-rw-r--r--zen/zstring.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/zen/zstring.cpp b/zen/zstring.cpp
index 3e579b1e..f1858efc 100644
--- a/zen/zstring.cpp
+++ b/zen/zstring.cpp
@@ -12,7 +12,6 @@
#include "win_ver.h"
#elif defined ZEN_MAC
-//#include <zen/scope_guard.h>
#include <ctype.h> //toupper()
#endif
@@ -75,8 +74,8 @@ private:
}
}
- LeakChecker(const LeakChecker&);
- LeakChecker& operator=(const LeakChecker&);
+ LeakChecker (const LeakChecker&) = delete;
+ LeakChecker& operator=(const LeakChecker&) = delete;
static std::string rawMemToString(const void* ptr, size_t size)
{
@@ -165,7 +164,7 @@ int z_impl::compareFilenamesNoCase(const wchar_t* lhs, const wchar_t* rhs, size_
else //fallback
{
//do NOT use "CompareString"; this function is NOT accurate (even with LOCALE_INVARIANT and SORT_STRINGSORT): for example "weiß" == "weiss"!!!
- //the only reliable way to compare filenames (with XP) is to call "CharUpper" or "LCMapString":
+ //the only reliable way to compare filepaths (with XP) is to call "CharUpper" or "LCMapString":
auto copyToUpperCase = [](const wchar_t* strIn, wchar_t* strOut, size_t len)
{
bgstack15