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
@@ -219,8 +219,8 @@ static void PrintSourceFragment( const SourceContents& src, uint32_t srcline, in
}
enum { JumpSeparationBase = 6 };
enum { JumpArrowBase = 9 };
constexpr float JumpSeparationBase = 6;
constexpr float JumpArrowBase = 9;
SourceView::SourceView()
: m_font( nullptr )