astyle
This commit is contained in:
parent
9a9e9aace9
commit
38c0ee018b
@ -128,7 +128,7 @@ public:
|
||||
|
||||
private:
|
||||
FILE* _fd;
|
||||
filename_t _filename;
|
||||
filename_t _filename;
|
||||
bool _force_flush;
|
||||
};
|
||||
}
|
||||
|
@ -235,14 +235,14 @@ inline size_t thread_id()
|
||||
#define SPDLOG_FILENAME_T(s) L ## s
|
||||
inline std::string filename_to_str(const filename_t& filename)
|
||||
{
|
||||
std::wstring_convert<std::codecvt_utf8<wchar_t>, wchar_t> c;
|
||||
return c.to_bytes(filename);
|
||||
std::wstring_convert<std::codecvt_utf8<wchar_t>, wchar_t> c;
|
||||
return c.to_bytes(filename);
|
||||
}
|
||||
#else
|
||||
#define SPDLOG_FILENAME_T(s) s
|
||||
inline std::string filename_to_str(const filename_t& filename)
|
||||
{
|
||||
return filename;
|
||||
return filename;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -108,7 +108,7 @@ private:
|
||||
|
||||
void _rotate()
|
||||
{
|
||||
using details::os::filename_to_str;
|
||||
using details::os::filename_to_str;
|
||||
_file_helper.close();
|
||||
for (auto i = _max_files; i > 0; --i)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user