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

@ -7,7 +7,7 @@
#include <spdlog/sinks/ansicolor_sink.h>
#endif
#include <spdlog/details/pattern_formatter.h>
#include <spdlog/pattern_formatter.h>
#include <spdlog/details/os.h>
namespace spdlog {

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
{