From 0992a41053166cc0b38c38056cc3cca0bd65899e Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 14 Jan 2024 12:45:56 +0200 Subject: [PATCH] Cleaned os.h --- include/spdlog/details/os.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/spdlog/details/os.h b/include/spdlog/details/os.h index e08137c4..332fb7ff 100644 --- a/include/spdlog/details/os.h +++ b/include/spdlog/details/os.h @@ -23,11 +23,11 @@ SPDLOG_API std::tm gmtime() noexcept; // eol definition and folder separator for the current os #ifdef _WIN32 - constexpr static const char *default_eol = "\r\n"; - constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("\\/"); +constexpr static const char *default_eol = "\r\n"; +constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("\\/"); #else - constexpr static const char *default_eol = "\n"; - constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("/"); +constexpr static const char *default_eol = "\n"; +constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("/"); #endif // fopen_s on non windows for writing