summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-17 10:59:10 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-07-21 12:02:11 +0200
commite2af4a871c6a8bcab4733193948833aed9c5ceb8 (patch)
tree2589bafe5de543fbc0dbccc3e13db8daa4acfabf /libs
parent61adb20886a9cc611a8b48a86998cfeaad31d7b7 (diff)
Format
Change-Id: I036befbfb38b01d046d35a1364c28e0835dcbd41 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'libs')
-rw-r--r--libs/ini-config/ini-config.cpp6
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
+}