]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/postgresql_store.cpp
Ticket 26. The 'const SETTINGS_IMPL settings' parametr added in the void reload(...
[stg.git] / projects / stargazer / plugins / store / postgresql / postgresql_store.cpp
index 3a1d7272f1267d05ace0cb08fef059e184c8e5a3..80431c0dd1c2f3b441256798b3bea2294568a871 100644 (file)
@@ -40,7 +40,6 @@
 
 #include <string>
 #include <vector>
-#include <algorithm>
 
 #include <libpq-fe.h>
 
@@ -97,8 +96,7 @@ std::string s;
 
 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")
         {
         server = *(i->value.begin());