From be2a7515136b47d15aa21d93582ea6be97e7b533 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 8 Nov 2019 16:35:18 +0200 Subject: [PATCH] Fixed clang-tidy warning in example --- example/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.cpp b/example/example.cpp index 2a18677a..0bc838bd 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -143,7 +143,7 @@ void async_example() #include "spdlog/fmt/bin_to_hex.h" void binary_example() { - std::vector buf; + std::vector buf(80); for (int i = 0; i < 80; i++) { buf.push_back(static_cast(i & 0xff));