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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user