]> git.stg.codes - stg.git/commitdiff
Pass config file via const reference in sgauth/sgathstress settings
authorMaxim Mamontov <faust.madf@gmail.com>
Wed, 31 Aug 2011 10:01:29 +0000 (13:01 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Wed, 31 Aug 2011 10:01:29 +0000 (13:01 +0300)
projects/sgauth/settings_impl.h
projects/sgauthstress/settings.h

index 2de52577709728c08e15d5106e59871a6ddc988f..9354e18decf236978f259ce8d5b9248a1ffeaf8a 100644 (file)
@@ -30,7 +30,7 @@ public:
                         SETTINGS_IMPL();
                         ~SETTINGS_IMPL() {}
     int                 Reload() { return 0; }
-    void                SetConfFile(const std::string cf) { confFile = cf; }
+    void                SetConfFile(const std::string cf) { confFile = cf; }
     int                 ReadSettings();
 
     const std::string & GetStrError() const { return strError; }
index 01542086cb28601baf3b5614b99bf77e52cf497f..4e4b9be1c4340a47f19ec6550546e8e6af63e167 100644 (file)
@@ -33,7 +33,7 @@ public:
                         SETTINGS();
                         ~SETTINGS() {}
     int                 Reload() { return 0; }
-    void                SetConfFile(const std::string cf) { confFile = cf; }
+    void                SetConfFile(const std::string cf) { confFile = cf; }
     int                 ReadSettings();
 
     const std::string & GetStrError() const { return strError; }