Commit 963f8d34 authored by gabime's avatar gabime

Fixed tests

parent 60a8c5f1
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#include <spdlog/sinks/ansicolor_sink.h> #include <spdlog/sinks/ansicolor_sink.h>
#endif #endif
#include <spdlog/details/pattern_formatter.h> #include <spdlog/pattern_formatter.h>
#include <spdlog/details/os.h> #include <spdlog/details/os.h>
namespace spdlog { namespace spdlog {
......
...@@ -308,9 +308,7 @@ TEST_CASE("clone-formatter-2", "[pattern_formatter]") ...@@ -308,9 +308,7 @@ TEST_CASE("clone-formatter-2", "[pattern_formatter]")
class custom_test_flag : public spdlog::custom_flag_formatter class custom_test_flag : public spdlog::custom_flag_formatter
{ {
public: public:
class custom_test_flag(std::string txt) custom_test_flag(std::string txt) : some_txt{std::move(txt)} {}
: some_txt{std::move(txt)}
{}
void format(const spdlog::details::log_msg &, const std::tm &, spdlog::memory_buf_t &dest) override void format(const spdlog::details::log_msg &, const std::tm &, spdlog::memory_buf_t &dest) override
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment