mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Fixed multiple clang-tidy warnings
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user