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

Merge pull request #1022 from siliceum/TracyLine-Evaluate-to-a-constant

Change TracyLine to be evaluate as a constant even with Edit-and-Cont…
This commit is contained in:
Bartosz Taudul 2025-04-14 15:00:52 +02:00 committed by GitHub
commit 0d1d28415c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@
#endif #endif
#ifndef TracyLine #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 #endif
#ifndef TRACY_ENABLE #ifndef TRACY_ENABLE