Fixed clang-tidy warning in example

pull/1311/head
gabime 6 years ago
parent 840adfbbcf
commit be2a751513

@ -143,7 +143,7 @@ void async_example()
#include "spdlog/fmt/bin_to_hex.h" #include "spdlog/fmt/bin_to_hex.h"
void binary_example() void binary_example()
{ {
std::vector<char> buf; std::vector<char> buf(80);
for (int i = 0; i < 80; i++) for (int i = 0; i < 80; i++)
{ {
buf.push_back(static_cast<char>(i & 0xff)); buf.push_back(static_cast<char>(i & 0xff));

Loading…
Cancel
Save