mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
"#include" <spdlog/.*> instead of "spdlog/.*"
The meaning of using quotes to #include is implementation defined, so it may or not may be what we want. At least POSIX (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html) says: "headers whose names are enclosed in double-quotes ( "" ) shall be searched for first in the directory of the file with the #include line", so not what we want since "spdlog" ends up twice in the path.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "spdlog/tweakme.h"
|
||||
#include "spdlog/details/null_mutex.h"
|
||||
#include <spdlog/tweakme.h>
|
||||
#include <spdlog/details/null_mutex.h>
|
||||
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
@@ -35,7 +35,7 @@
|
||||
#define SPDLOG_INLINE inline
|
||||
#endif
|
||||
|
||||
#include "spdlog/fmt/fmt.h"
|
||||
#include <spdlog/fmt/fmt.h>
|
||||
|
||||
// visual studio upto 2013 does not support noexcept nor constexpr
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1900)
|
||||
|
Reference in New Issue
Block a user