From 1ec50cdcfcce022ac3fd22215f8f8b2aa56743ac Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 5 Sep 2021 11:35:00 +0300 Subject: [PATCH] update udp example --- example/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.cpp b/example/example.cpp index 7fc44850..3fbde21a 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -201,7 +201,6 @@ void trace_example() // stopwatch example #include "spdlog/stopwatch.h" #include -#include "spdlog/sinks/udp_sink.h" void stopwatch_example() { spdlog::stopwatch sw; @@ -209,6 +208,7 @@ void stopwatch_example() spdlog::info("Stopwatch: {} seconds", sw); } +#include "spdlog/sinks/udp_sink.h" void udp_example() { spdlog::sinks::udp_sink_config cfg("127.0.0.1", 11091);