changeset 2373:68380777f9a6

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Aug 2017 21:51:24 +0200
parents 39600af9fec3
children 7087141c74b9
files Core/Toolbox.cpp Core/Toolbox.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Core/Toolbox.cpp	Tue Aug 22 23:33:42 2017 +0200
+++ b/Core/Toolbox.cpp	Tue Aug 22 21:51:24 2017 +0200
@@ -1326,7 +1326,6 @@
   {
     globalLocale_.reset();
   }
-#endif
 
   
   std::string Toolbox::ToUpperCaseWithAccents(const std::string& source)
@@ -1368,4 +1367,5 @@
     w = boost::algorithm::to_upper_copy<std::wstring>(w, *globalLocale_);
     return boost::locale::conv::utf_to_utf<char>(w);
   }
+#endif
 }
--- a/Core/Toolbox.h	Tue Aug 22 23:33:42 2017 +0200
+++ b/Core/Toolbox.h	Tue Aug 22 21:51:24 2017 +0200
@@ -209,8 +209,8 @@
     void InitializeGlobalLocale(const char* locale);
 
     void FinalizeGlobalLocale();
-#endif
 
     std::string ToUpperCaseWithAccents(const std::string& source);
+#endif
   }
 }