Skip to content
Snippets Groups Projects
Commit 66ae0b6a authored by jstark's avatar jstark
Browse files

Adding missing append mode to append_value_to_textfile.

parent 4359c86c
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ bool isApproxEqual(T val1, T val2, T tolerance)
template <typename T>
void append_value_to_textfile(std::string & textfile, T value)
{
std::ofstream out(textfile);
std::ofstream out(textfile, std::ios_base::app);
out << value;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment