From 8590436aaf2278b7c402da7e3c5297a9758efa6e Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 22 Dec 2023 14:36:54 +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 1b74f6d1..03ed5b2d 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(80); + std::vector buf(); for (int i = 0; i < 80; i++) { buf.push_back(static_cast(i & 0xff)); }