mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
Co-authored-by: Jaroslav Smid <smidjar2.reg@email.cz>
This commit is contained in:
parent
9bb36eb7e5
commit
a7192f2b1c
@ -117,7 +117,7 @@ namespace g3 {
|
||||
std::ofstream &stream(*(out.get()));
|
||||
bool success_with_open_file = openLogFile(file_with_full_path, stream);
|
||||
if (false == success_with_open_file) {
|
||||
out.release();
|
||||
out.reset();
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user