unit_tests: don't delete log file on windows, it will fail

This commit is contained in:
moneromooo-monero 2019-04-23 15:27:31 +00:00
parent 475481949a
commit c07366430a
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -44,7 +44,10 @@ static void init()
static void cleanup()
{
// windows does not let files be deleted if still in use, so leave droppings there
#ifndef _WIN32
boost::filesystem::remove(log_filename);
#endif
}
static size_t nlines(const std::string &str)