summaryrefslogtreecommitdiff
path: root/zen/zstring.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-05-12 16:34:13 -0400
committerB Stack <bgstack15@gmail.com>2019-05-12 16:34:13 -0400
commitf43972d665c95b2148636c86a5b648e719901101 (patch)
treeb873b15f50a981aacf8bb49fd646bfded2e7a73b /zen/zstring.h
parentMerge branch '10.11' into 'master' (diff)
downloadFreeFileSync-f43972d665c95b2148636c86a5b648e719901101.tar.gz
FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.tar.bz2
FreeFileSync-f43972d665c95b2148636c86a5b648e719901101.zip
10.12
Diffstat (limited to 'zen/zstring.h')
-rw-r--r--zen/zstring.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/zen/zstring.h b/zen/zstring.h
index 42487670..d5a8c29b 100644
--- a/zen/zstring.h
+++ b/zen/zstring.h
@@ -66,7 +66,7 @@ struct LessNativePath { bool operator()(const Zstring& lhs, const Zstring& rhs)
//------------------------------------------------------------------------------------------
int compareNatural(const Zstring& lhs, const Zstring& rhs);
-struct LessNaturalSort { bool operator()(const Zstring& lhs, const Zstring rhs) const { return compareNatural(lhs, rhs) < 0; } };
+struct LessNaturalSort { bool operator()(const Zstring& lhs, const Zstring& rhs) const { return compareNatural(lhs, rhs) < 0; } };
//------------------------------------------------------------------------------------------
@@ -148,4 +148,8 @@ const wchar_t MULT_SIGN = L'\u00D7'; //fancy "x"
//ZEN macro consistency checks:
+#if defined ZEN_WIN_PRE_VISTA || defined ZEN_WIN_VISTA_AND_LATER
+ #error these macros are obsolete!
+#endif
+
#endif //ZSTRING_H_73425873425789
bgstack15