fix Xcode compiler warning "no new line at the end of file"

This commit is contained in:
Hai Feng Kao 2021-04-20 12:43:56 +08:00
parent 7d07e0312a
commit ca2cd6f3e7
4 changed files with 8 additions and 4 deletions

View File

@ -42,4 +42,5 @@ public:
#ifdef SPDLOG_HEADER_ONLY #ifdef SPDLOG_HEADER_ONLY
#include "backtracer-inl.h" #include "backtracer-inl.h"
#endif #endif

View File

@ -21,4 +21,5 @@ struct synchronous_factory
return new_logger; return new_logger;
} }
}; };
} // namespace spdlog } // namespace spdlog

View File

@ -24,4 +24,5 @@
#else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib #else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib
#include <fmt/core.h> #include <fmt/core.h>
#include <fmt/format.h> #include <fmt/format.h>
#endif #endif

View File

@ -55,4 +55,5 @@ inline std::shared_ptr<logger> basic_logger_st(const std::string &logger_name, c
#ifdef SPDLOG_HEADER_ONLY #ifdef SPDLOG_HEADER_ONLY
#include "basic_file_sink-inl.h" #include "basic_file_sink-inl.h"
#endif #endif