Fixed multiple clang-tidy warnings

This commit is contained in:
gabime 2020-04-08 18:18:27 +03:00
parent b2017f5653
commit d09e03606c

View File

@ -336,7 +336,6 @@ public:
// test clone with custom flag formatters // test clone with custom flag formatters
TEST_CASE("clone-custom_formatter", "[pattern_formatter]") TEST_CASE("clone-custom_formatter", "[pattern_formatter]")
{ {
auto formatter_1 = std::make_shared<spdlog::pattern_formatter>(); auto formatter_1 = std::make_shared<spdlog::pattern_formatter>();
formatter_1->add_flag<custom_test_flag>('t', "custom_output").set_pattern("[%n] [%t] %v"); formatter_1->add_flag<custom_test_flag>('t', "custom_output").set_pattern("[%n] [%t] %v");
auto formatter_2 = formatter_1->clone(); auto formatter_2 = formatter_1->clone();