From 4347cc58b1ca1b8327f143f2ad6fb30d7ade2021 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 2 Jul 2022 16:25:47 +0200 Subject: [PATCH] Forward declare ImFont. --- server/TracyBadVersion.cpp | 2 ++ server/TracyBadVersion.hpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/server/TracyBadVersion.cpp b/server/TracyBadVersion.cpp index ad1a5032..7357e62d 100644 --- a/server/TracyBadVersion.cpp +++ b/server/TracyBadVersion.cpp @@ -1,5 +1,7 @@ #include +#include "imgui.h" + #include "IconsFontAwesome5.h" #include "TracyBadVersion.hpp" #include "TracyImGui.hpp" diff --git a/server/TracyBadVersion.hpp b/server/TracyBadVersion.hpp index ba166509..c0454282 100644 --- a/server/TracyBadVersion.hpp +++ b/server/TracyBadVersion.hpp @@ -1,9 +1,10 @@ #ifndef __TRACYBADVERSION_HPP__ #define __TRACYBADVERSION_HPP__ -#include #include "../common/TracyForceInline.hpp" +struct ImFont; + namespace tracy {