Do not use std::endl for each line when saving the conf file

This commit is contained in:
louiz’
2016-05-11 00:56:49 +02:00
parent ce798b1e8c
commit cef238e700
+1 -1
View File
@@ -117,6 +117,6 @@ void Config::save_to_file() const
return ; return ;
} }
for (auto& it: this->values) for (auto& it: this->values)
file << it.first << "=" << it.second << std::endl; file << it.first << "=" << it.second << '\n';
file.close(); file.close();
} }