]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/firebird/firebird_store.cpp
Fixed problem running plugin in non-debug mode.
[stg.git] / projects / stargazer / plugins / store / firebird / firebird_store.cpp
index 3c4f32adf50b1560d2d8fa14427e6f479e4da087..811601146f8ca7ee18ea414a1e6e80fd5a860be2 100644 (file)
@@ -33,9 +33,6 @@
 
 #include <string>
 #include <vector>
 
 #include <string>
 #include <vector>
-#include <algorithm>
-
-#include <cctype>
 
 namespace
 {
 
 namespace
 {
@@ -81,9 +78,7 @@ std::string s;
 
 for(i = settings.moduleParams.begin(); i != settings.moduleParams.end(); ++i)
     {
 
 for(i = settings.moduleParams.begin(); i != settings.moduleParams.end(); ++i)
     {
-    s = i->param;
-
-    std::transform(s.begin(), s.end(), s.begin(), ::tolower);
+    s = ToLower(i->param);
 
     if (s == "server")
         db_server = *(i->value.begin());
 
     if (s == "server")
         db_server = *(i->value.begin());