Fix Linux build

This commit is contained in:
Wojtek Figat
2021-05-13 16:23:24 +02:00
parent b2ecceab44
commit 13a6de8645
3 changed files with 8 additions and 8 deletions

View File

@@ -387,7 +387,6 @@ struct TIsPODType<ProfilerCPU::Event>
#define PROFILE_CPU() ZoneTransient(___tracy_scoped_zone, true); ScopeProfileBlockCPU ProfileBlockCPU(TEXT(__FUNCTION__))
#else
#define PROFILE_CPU() ZoneNamed(___tracy_scoped_zone, true); ScopeProfileBlockCPU ProfileBlockCPU(TEXT(__FUNCTION__))
#endif
#else
@@ -395,7 +394,7 @@ struct TIsPODType<ProfilerCPU::Event>
#if USE_EDITOR
#define PROFILE_CPU() ZoneTransient(___tracy_scoped_zone, true); ScopeProfileBlockCPU ProfileBlockCPU(__FUNCTION__)
#else
#define PROFILE_CPU() ZoneNamed(___tracy_scoped_zone, true); ScopeProfileBlockCPU ProfileBlockCPU(_functionNameBuffer)
#define PROFILE_CPU() ZoneNamed(___tracy_scoped_zone, true); ScopeProfileBlockCPU ProfileBlockCPU(__FUNCTION__)
#endif
#endif