From 6a6de7bc8cf4d96684f200d2d67e645a42fea8ee Mon Sep 17 00:00:00 2001 From: insunaa Date: Tue, 12 Nov 2024 09:44:48 +0100 Subject: [PATCH] Fix CodeBench guard macro --- src/shared/Util/CodeBench.cpp | 2 +- src/shared/Util/CodeBench.h | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/shared/Util/CodeBench.cpp b/src/shared/Util/CodeBench.cpp index 2676031e377..6fa383d08aa 100644 --- a/src/shared/Util/CodeBench.cpp +++ b/src/shared/Util/CodeBench.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "CodeBench.h" +#include "Util/CodeBench.h" #include "Log/Log.h" ChronoTimeTracker::~ChronoTimeTracker() diff --git a/src/shared/Util/CodeBench.h b/src/shared/Util/CodeBench.h index 397038fd17a..5de6355bcf8 100644 --- a/src/shared/Util/CodeBench.h +++ b/src/shared/Util/CodeBench.h @@ -16,8 +16,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef MANGOS_TIMER_H -#define MANGOS_TIMER_H +#ifndef MANGOS_CODEBENCH_H +#define MANGOS_CODEBENCH_H struct ChronoTimeTracker { @@ -50,4 +50,5 @@ struct ChronoTimeTracker inline constexpr std::chrono::seconds secs(std::chrono::nanoseconds nanos) { return std::chrono::duration_cast(nanos); } }; -#endif \ No newline at end of file +#endif +