1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Change magic value enums to constexprs.

This commit is contained in:
Bartosz Taudul
2022-08-14 18:16:30 +02:00
parent 77e39700b1
commit d12fa11762
7 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -10,8 +10,8 @@
namespace tracy
{
enum { MinVisSize = 3 };
enum { MinFrameSize = 5 };
constexpr float MinVisSize = 3;
constexpr float MinFrameSize = 5;
static tracy_force_inline uint32_t GetColorMuted( uint32_t color, bool active )
{