Skip to content

Commit

Permalink
fix init order warning
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dB authored and m0dB committed Nov 2, 2024
1 parent 5b24afc commit b31e18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/waveform/renderers/waveformwidgetrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ WaveformWidgetRenderer::WaveformWidgetRenderer(const QString& group)
m_visualPlayPosition(nullptr),
m_totalVSamples(0),
m_pRateRatioCO(nullptr),
m_pContext(nullptr),
m_pGainControlObject(nullptr),
m_gain(1.0),

Check failure on line 44 in src/waveform/renderers/waveformwidgetrenderer.cpp

View workflow job for this annotation

GitHub Actions / clazy

field 'm_gain' will be initialized after field 'm_pTrackSamplesControlObject' [-Werror,-Wreorder-ctor]

Check failure on line 44 in src/waveform/renderers/waveformwidgetrenderer.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 x64

field 'm_gain' will be initialized after field 'm_pTrackSamplesControlObject' [-Werror,-Wreorder-ctor]

Check failure on line 44 in src/waveform/renderers/waveformwidgetrenderer.cpp

View workflow job for this annotation

GitHub Actions / macOS 12 arm64

field 'm_gain' will be initialized after field 'm_pTrackSamplesControlObject' [-Werror,-Wreorder-ctor]
m_pTrackSamplesControlObject(nullptr),
m_trackSamples(0.0),
m_scaleFactor(1.0),
m_playMarkerPosition(s_defaultPlayMarkerPosition),
m_pContext(nullptr),
m_passthroughEnabled(false) {
//qDebug() << "WaveformWidgetRenderer";
for (int type = ::WaveformRendererAbstract::Play;
Expand Down

0 comments on commit b31e18e

Please sign in to comment.