Fixed tests

pull/1487/head
gabime 6 years ago
parent 60a8c5f1c9
commit 963f8d3485

@ -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 {

@ -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
{

Loading…
Cancel
Save