diff options
author | Cristian Morales Vega <christian.morales.vega@gmail.com> | 2019-11-06 22:09:30 +0300 |
---|---|---|
committer | Cristian Morales Vega <christian.morales.vega@gmail.com> | 2019-11-06 22:15:29 +0300 |
commit | 7cdd65075cca64ca55d0027d0626336a6a9a3569 (patch) | |
tree | cb7582ae360ef014cdad4a7e0310f4a63503b352 /include/spdlog/formatter.h | |
parent | 436ce16e79b302a759a5687377aafb668f6d4101 (diff) |
"#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.
Diffstat (limited to 'include/spdlog/formatter.h')
-rw-r--r-- | include/spdlog/formatter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/spdlog/formatter.h b/include/spdlog/formatter.h index 9a4ed035..5086fb21 100644 --- a/include/spdlog/formatter.h +++ b/include/spdlog/formatter.h @@ -3,8 +3,8 @@ #pragma once -#include "fmt/fmt.h" -#include "spdlog/details/log_msg.h" +#include <spdlog/fmt/fmt.h> +#include <spdlog/details/log_msg.h> namespace spdlog { |