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)); }