From cef238e7002874939cc5e93cd3c29c130623344b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Wed, 11 May 2016 00:56:49 +0200 Subject: Do not use std::endl for each line when saving the conf file --- louloulibs/config/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3