Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
4b3687f1
Commit
4b3687f1
authored
Jul 19, 2021
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unneeded macro definition
parent
e7e8b75a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
include/spdlog/common.h
include/spdlog/common.h
+0
-3
include/spdlog/sinks/daily_file_sink.h
include/spdlog/sinks/daily_file_sink.h
+1
-1
No files found.
include/spdlog/common.h
View file @
4b3687f1
...
@@ -37,12 +37,9 @@
...
@@ -37,12 +37,9 @@
// backward compatibility with fmt versions older than 8
// backward compatibility with fmt versions older than 8
#if FMT_VERSION >= 80000
#if FMT_VERSION >= 80000
# define SPDLOG_FMT_RUNTIME(format_string) fmt::runtime(format_string)
# if defined(SPDLOG_WCHAR_FILENAMES) || defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT)
# if defined(SPDLOG_WCHAR_FILENAMES) || defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT)
# include <spdlog/fmt/xchar.h>
# include <spdlog/fmt/xchar.h>
# endif
# endif
#else
# define SPDLOG_FMT_RUNTIME(format_string) format_string
#endif
#endif
// visual studio upto 2013 does not support noexcept nor constexpr
// visual studio upto 2013 does not support noexcept nor constexpr
...
...
include/spdlog/sinks/daily_file_sink.h
View file @
4b3687f1
...
@@ -53,7 +53,7 @@ struct daily_filename_format_calculator
...
@@ -53,7 +53,7 @@ struct daily_filename_format_calculator
#if defined(_MSC_VER) && defined(SPDLOG_WCHAR_FILENAMES) // for some reason msvc doesnt allow fmt::runtime(..) with wchar here
#if defined(_MSC_VER) && defined(SPDLOG_WCHAR_FILENAMES) // for some reason msvc doesnt allow fmt::runtime(..) with wchar here
return
fmt
::
format
(
fmt_filename
,
now_tm
);
return
fmt
::
format
(
fmt_filename
,
now_tm
);
#else
#else
return
fmt
::
format
(
SPDLOG_FMT_RUNTIME
(
fmt_filename
)
,
now_tm
);
return
fmt
::
format
(
fmt_filename
,
now_tm
);
#endif
#endif
}
}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment