cleaned common.h and moved some code around

This commit is contained in:
gabime
2016-05-15 01:45:16 +03:00
parent 10d5292bbb
commit 80a432e646
5 changed files with 31 additions and 33 deletions

View File

@@ -20,7 +20,7 @@
namespace spdlog
{
namespace sinks
{
{
/*
* Trivial file sink with single file as target
*/
@@ -108,6 +108,7 @@ private:
void _rotate()
{
using details::os::filename_to_str;
_file_helper.close();
for (auto i = _max_files; i > 0; --i)
{