X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..38adf7483e39539384d78e7044c7f7cd9f09bebf:/stglibs/conffiles.lib/conffiles.cpp diff --git a/stglibs/conffiles.lib/conffiles.cpp b/stglibs/conffiles.lib/conffiles.cpp index 549cb22d..a6fbe6d6 100644 --- a/stglibs/conffiles.lib/conffiles.cpp +++ b/stglibs/conffiles.lib/conffiles.cpp @@ -28,11 +28,13 @@ */ //--------------------------------------------------------------------------- -#include -#include -#include +#include +#include +#include + #include #include + #include "conffiles.h" #include "common.h" @@ -133,16 +135,6 @@ error = 0; return e; } //--------------------------------------------------------------------------- -int CONFIGFILE::FindParameter(const string ¶meter, string * value) const -{ -it = param_val.find(parameter); -if (it == param_val.end()) - return -1; - -*value = param_val[parameter]; -return 0; -} -//--------------------------------------------------------------------------- int CONFIGFILE::Flush() { fstream f(fileName.c_str(), ios::out); @@ -451,5 +443,3 @@ Flush(); return 0; } //--------------------------------------------------------------------------- - -