Merge pull request #1916 from haifengkao/FixNoNewLineAtEndOfFile

fix Xcode compiler warning "no new line at the end of file"
This commit is contained in:
Gabi Melman 2021-04-20 22:31:56 +03:00 committed by GitHub
commit c5abaeddca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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