Skip to content

Commit

Permalink
Fix CodeBench guard macro
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa authored and killerwife committed Nov 12, 2024
1 parent c23a9f7 commit 6a6de7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/shared/Util/CodeBench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
7 changes: 4 additions & 3 deletions src/shared/Util/CodeBench.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -50,4 +50,5 @@ struct ChronoTimeTracker
inline constexpr std::chrono::seconds secs(std::chrono::nanoseconds nanos) { return std::chrono::duration_cast<std::chrono::seconds>(nanos); }
};

#endif
#endif

0 comments on commit 6a6de7b

Please sign in to comment.