mirror of
https://github.com/gabime/spdlog.git
synced 2025-02-26 18:25:49 +08:00
Fixed example
This commit is contained in:
parent
9797b353c0
commit
8590436aaf
@ -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<char> buf(80);
|
||||
std::vector<char> buf();
|
||||
for (int i = 0; i < 80; i++) {
|
||||
buf.push_back(static_cast<char>(i & 0xff));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user