Fixed tests
This commit is contained in:
		@@ -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
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user