utility: ringlogging fix, delete when switching log files

This commit is contained in:
Andreas Stallinger
2016-02-26 12:31:38 +01:00
parent 47a0dd69a4
commit b3ac0532cc
4 changed files with 8 additions and 5 deletions
+5
View File
@@ -115,6 +115,11 @@ bool FileSystem::exists(const std::string& path)
return boost::filesystem::exists(boost::filesystem::path(path));
}
bool FileSystem::remove(const std::string& path)
{
return boost::filesystem::remove(path);
}
std::string FileSystem::fileName(const std::string& path)
{
return boost::filesystem::path(path).filename().generic_string();