Commit 98b9cd38 authored by puasonych's avatar puasonych

Update step logger

parent 877a6184
...@@ -128,11 +128,15 @@ protected: ...@@ -128,11 +128,15 @@ protected:
std::tie(new_filename, std::ignore) = FileNameCalc::calc_filename(_base_filename, _tmp_ext); std::tie(new_filename, std::ignore) = FileNameCalc::calc_filename(_base_filename, _tmp_ext);
bool change_occured = !details::file_helper::file_exists(new_filename); bool change_occured = !details::file_helper::file_exists(new_filename);
if (change_occured) close_current_file(); if (change_occured)
{
close_current_file();
_current_filename = std::move(new_filename);
_current_filename = std::move(new_filename); _file_helper.open(_current_filename);
}
_file_helper.open(_current_filename);
_tp = _next_tp(); _tp = _next_tp();
if (change_occured) if (change_occured)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment