mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Change TracyLine to be evaluate as a constant even with Edit-and-Continue
This commit is contained in:
parent
684400b45c
commit
f41c4672cb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user