From f41c4672cb0c9688d775088553d7874caf1949d0 Mon Sep 17 00:00:00 2001 From: Gabriel Bon Date: Thu, 10 Apr 2025 09:26:47 +0200 Subject: [PATCH] Change TracyLine to be evaluate as a constant even with Edit-and-Continue --- public/tracy/Tracy.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/tracy/Tracy.hpp b/public/tracy/Tracy.hpp index bed51179..d8bf9e3f 100644 --- a/public/tracy/Tracy.hpp +++ b/public/tracy/Tracy.hpp @@ -13,7 +13,7 @@ #endif #ifndef TracyLine -# define TracyLine __LINE__ +# define TracyLine TracyConcat(__LINE__,U) // MSVC Edit and continue __LINE__ is non-constant. See https://developercommunity.visualstudio.com/t/-line-cannot-be-used-as-an-argument-for-constexpr/195665 #endif #ifndef TRACY_ENABLE