1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Change TracyLine to be evaluate as a constant even with Edit-and-Continue

This commit is contained in:
Gabriel Bon 2025-04-10 09:26:47 +02:00
parent 684400b45c
commit f41c4672cb

View File

@ -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