diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ini-config/ini-config.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ini-config/ini-config.cpp b/libs/ini-config/ini-config.cpp index ef3ab25..e429b95 100644 --- a/libs/ini-config/ini-config.cpp +++ b/libs/ini-config/ini-config.cpp @@ -17,7 +17,7 @@ #include "ini-config.hpp" -bool starts_with(const std::string& text, const std::string& token) +bool starts_with(const std::string& text, const std::string& token) { if(text.length() < token.length()) return false; return (text.compare(0, token.length(), token) == 0); @@ -62,7 +62,7 @@ ini_config::map ini_config::get_keys(const std::string& section, bool wo_prefix) { map ret; std::string key; - + std::string prefix = section + '/'; for(auto i = config_.begin(); i != config_.end(); @@ -97,4 +97,4 @@ ini_config::line_type ini_config::qualify(std::string& line) } } return line_type::ignore; -}
\ No newline at end of file +} |