summaryrefslogtreecommitdiff
path: root/louloulibs/config
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-05-11 00:56:49 +0200
committerlouiz’ <louiz@louiz.org>2016-05-11 00:56:49 +0200
commitcef238e7002874939cc5e93cd3c29c130623344b (patch)
treece4b11d573a6a18918cf5c529cc75e8cceca747e /louloulibs/config
parentce798b1e8cfce7df69e0e91400c96090447a5ea8 (diff)
downloadbiboumi-cef238e7002874939cc5e93cd3c29c130623344b.tar.gz
biboumi-cef238e7002874939cc5e93cd3c29c130623344b.tar.bz2
biboumi-cef238e7002874939cc5e93cd3c29c130623344b.tar.xz
biboumi-cef238e7002874939cc5e93cd3c29c130623344b.zip
Do not use std::endl for each line when saving the conf file
Diffstat (limited to 'louloulibs/config')
-rw-r--r--louloulibs/config/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/louloulibs/config/config.cpp b/louloulibs/config/config.cpp
index 3e016f4..c785632 100644
--- a/louloulibs/config/config.cpp
+++ b/louloulibs/config/config.cpp
@@ -117,6 +117,6 @@ void Config::save_to_file() const
return ;
}
for (auto& it: this->values)
- file << it.first << "=" << it.second << std::endl;
+ file << it.first << "=" << it.second << '\n';
file.close();
}