diff --git a/README.md b/README.md index 4daad2e5..4acf5dfa 100644 --- a/README.md +++ b/README.md @@ -307,10 +307,8 @@ public: }; void custom_flags_example() -{ - - using spdlog::details::make_unique; // for pre c++14 - auto formatter = make_unique(); +{ + auto formatter = std::make_unique(); formatter->add_flag('*').set_pattern("[%n] [%*] [%^%l%$] %v"); spdlog::set_formatter(std::move(formatter)); }