fix example

This commit is contained in:
gabime 2018-04-14 03:47:26 +03:00
parent 7378cc297c
commit 6f1dc624e6
1 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,7 @@
#define SPDLOG_TRACE_ON #define SPDLOG_TRACE_ON
#define SPDLOG_DEBUG_ON #define SPDLOG_DEBUG_ON
#include "spdlog/async.h"
#include "spdlog/spdlog.h" #include "spdlog/spdlog.h"
#include <iostream> #include <iostream>
@ -103,7 +103,8 @@ int main(int, char *[])
return 1; return 1;
} }
} }
// must be included to use async logger
#include "spdlog/async.h"
void async_example() void async_example()
{ {