Don't pass font to SourceView ctor.

This commit is contained in:
Bartosz Taudul
2021-11-20 14:44:22 +01:00
parent 3e78c826cf
commit f0d524ad1f
3 changed files with 4 additions and 4 deletions

View File

@@ -161,8 +161,8 @@ static void PrintHwSampleTooltip( size_t cycles, size_t retired, size_t cacheRef
enum { JumpSeparation = 6 };
enum { JumpArrowBase = 9 };
SourceView::SourceView( ImFont* font, GetWindowCallback gwcb )
: m_font( font )
SourceView::SourceView( GetWindowCallback gwcb )
: m_font( nullptr )
, m_symAddr( 0 )
, m_targetAddr( 0 )
, m_targetLine( 0 )