Fixed clang-tidy warning in example

This commit is contained in:
gabime 2019-11-08 16:35:18 +02:00
parent 840adfbbcf
commit be2a751513

View File

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