From eb7d87685b495841b263e58e05c497bedde5f766 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 22 Dec 2023 14:37:50 +0200 Subject: [PATCH] Fixed example --- example/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.cpp b/example/example.cpp index 03ed5b2d..a1a0b1c3 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -172,7 +172,7 @@ void async_example() { #if !defined SPDLOG_USE_STD_FORMAT || defined(_MSC_VER) #include "spdlog/fmt/bin_to_hex.h" void binary_example() { - std::vector buf(); + std::vector buf; for (int i = 0; i < 80; i++) { buf.push_back(static_cast(i & 0xff)); }