mirror of
https://github.com/gabime/spdlog.git
synced 2025-02-05 04:06:46 +08:00
clean source_loc.h
This commit is contained in:
parent
63535f140b
commit
eccaa62e9d
@ -8,14 +8,6 @@
|
|||||||
#include <version>
|
#include <version>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __cpp_lib_source_location >= 201907
|
|
||||||
#include <source_location>
|
|
||||||
#define SPDLOG_HAVE_STD_SOURCE_LOCATION
|
|
||||||
#elif __has_include(<experimental/source_location>)
|
|
||||||
#include <experimental/source_location>
|
|
||||||
#define SPDLOG_HAVE_EXPERIMENTAL_SOURCE_LOCATION
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace spdlog {
|
namespace spdlog {
|
||||||
// source location - either initiated from std::source_location or from
|
// source location - either initiated from std::source_location or from
|
||||||
// std::experimental::source_location or empty
|
// std::experimental::source_location or empty
|
||||||
|
Loading…
Reference in New Issue
Block a user