mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Update utils.cpp
This commit is contained in:
parent
9a68bd8cc8
commit
5f3521b3d4
@ -9,7 +9,7 @@ void prepare_logdir()
|
|||||||
{
|
{
|
||||||
spdlog::drop_all();
|
spdlog::drop_all();
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
system("rmdir /S /Q test_logs")
|
system("rmdir /S /Q test_logs");
|
||||||
#else
|
#else
|
||||||
auto rv = system("rm -rf test_logs");
|
auto rv = system("rm -rf test_logs");
|
||||||
if (rv != 0)
|
if (rv != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user