From cca004efe4e66136a5f9f37e007d28a23bb729e0 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 22 Mar 2020 17:19:11 +0200 Subject: [PATCH] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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)); }