Fixed tests

This commit is contained in:
gabime
2020-03-21 15:25:05 +02:00
parent 60a8c5f1c9
commit 963f8d3485
2 changed files with 2 additions and 4 deletions

View File

@@ -308,9 +308,7 @@ TEST_CASE("clone-formatter-2", "[pattern_formatter]")
class custom_test_flag : public spdlog::custom_flag_formatter
{
public:
class custom_test_flag(std::string txt)
: some_txt{std::move(txt)}
{}
custom_test_flag(std::string txt) : some_txt{std::move(txt)} {}
void format(const spdlog::details::log_msg &, const std::tm &, spdlog::memory_buf_t &dest) override
{