From ca2cd6f3e72434381418743f0a857feded3e6ab1 Mon Sep 17 00:00:00 2001 From: Hai Feng Kao Date: Tue, 20 Apr 2021 12:43:56 +0800 Subject: [PATCH] fix Xcode compiler warning "no new line at the end of file" --- include/spdlog/details/backtracer.h | 3 ++- include/spdlog/details/synchronous_factory.h | 3 ++- include/spdlog/fmt/fmt.h | 3 ++- include/spdlog/sinks/basic_file_sink.h | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/include/spdlog/details/backtracer.h b/include/spdlog/details/backtracer.h index b7476bc9..81736580 100644 --- a/include/spdlog/details/backtracer.h +++ b/include/spdlog/details/backtracer.h @@ -42,4 +42,5 @@ public: #ifdef SPDLOG_HEADER_ONLY #include "backtracer-inl.h" -#endif \ No newline at end of file +#endif + diff --git a/include/spdlog/details/synchronous_factory.h b/include/spdlog/details/synchronous_factory.h index b48f5932..19b40ba1 100644 --- a/include/spdlog/details/synchronous_factory.h +++ b/include/spdlog/details/synchronous_factory.h @@ -21,4 +21,5 @@ struct synchronous_factory return new_logger; } }; -} // namespace spdlog \ No newline at end of file +} // namespace spdlog + diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h index 746d2f2c..bb6cba34 100644 --- a/include/spdlog/fmt/fmt.h +++ b/include/spdlog/fmt/fmt.h @@ -24,4 +24,5 @@ #else // SPDLOG_FMT_EXTERNAL is defined - use external fmtlib #include #include -#endif \ No newline at end of file +#endif + diff --git a/include/spdlog/sinks/basic_file_sink.h b/include/spdlog/sinks/basic_file_sink.h index 0ab9a4a1..62079d91 100644 --- a/include/spdlog/sinks/basic_file_sink.h +++ b/include/spdlog/sinks/basic_file_sink.h @@ -55,4 +55,5 @@ inline std::shared_ptr basic_logger_st(const std::string &logger_name, c #ifdef SPDLOG_HEADER_ONLY #include "basic_file_sink-inl.h" -#endif \ No newline at end of file +#endif +