Minor cleanup

This commit is contained in:
Gabi Melman 2024-12-05 07:42:39 +02:00
parent ca4f15c250
commit 2f028dffd3

View File

@ -24,10 +24,8 @@ SPDLOG_API std::tm gmtime() noexcept;
// eol definition and folder separator for the current os // eol definition and folder separator for the current os
#ifdef _WIN32 #ifdef _WIN32
constexpr static const char *default_eol = "\r\n"; constexpr static const char *default_eol = "\r\n";
constexpr static const filename_t::value_type folder_seps_filename[] = L"\\/";
#else #else
constexpr static const char *default_eol = "\n"; constexpr static const char *default_eol = "\n";
constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("/");
#endif #endif
// fopen_s on non windows for writing // fopen_s on non windows for writing