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);