mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Merge pull request #1916 from haifengkao/FixNoNewLineAtEndOfFile
fix Xcode compiler warning "no new line at the end of file"
This commit is contained in:
commit
c5abaeddca
@ -42,4 +42,5 @@ public:
|
|||||||
|
|
||||||
#ifdef SPDLOG_HEADER_ONLY
|
#ifdef SPDLOG_HEADER_ONLY
|
||||||
#include "backtracer-inl.h"
|
#include "backtracer-inl.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,4 +21,5 @@ struct synchronous_factory
|
|||||||
return new_logger;
|
return new_logger;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} // namespace spdlog
|
} // namespace spdlog
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user