This commit is contained in:
gabime 2019-10-25 16:07:10 +03:00
parent 88335bd92e
commit bd92c23add

View File

@ -36,7 +36,7 @@ SPDLOG_INLINE void file_helper::open(const filename_t &fname, bool truncate)
{
if (!folder_name.empty())
{
os::create_dir(folder_name);
os::create_dir(folder_name); // will not created if already exists
}
if (!os::fopen_s(&fd_, fname, mode))