mirror of
https://github.com/KjellKod/g3log.git
synced 2025-01-21 02:00:34 +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()));
|
std::ofstream &stream(*(out.get()));
|
||||||
bool success_with_open_file = openLogFile(file_with_full_path, stream);
|
bool success_with_open_file = openLogFile(file_with_full_path, stream);
|
||||||
if (false == success_with_open_file) {
|
if (false == success_with_open_file) {
|
||||||
out.release();
|
out.reset();
|
||||||
}
|
}
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user