Skip to content

Commit

Permalink
Use auto* for pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Jan 26, 2025
1 parent a906aaa commit f3211d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/waveform/widgets/allshader/waveformwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ WaveformWidget::WaveformWidget(QWidget* parent,
type, options, ::WaveformRendererAbstract::Play);
m_pWaveformRendererSignal = pWaveformRendererSignal.get();
if (pWaveformRendererSignal) {
auto pNode = dynamic_cast<rendergraph::BaseNode*>(pWaveformRendererSignal.release());
auto* pNode = dynamic_cast<rendergraph::BaseNode*>(pWaveformRendererSignal.release());
DEBUG_ASSERT(pNode);
pOpacityNode->appendChildNode(std::unique_ptr<rendergraph::BaseNode>(pNode));
}
Expand All @@ -69,7 +69,7 @@ WaveformWidget::WaveformWidget(QWidget* parent,
#endif
std::unique_ptr<WaveformRendererSignalBase> pSlipNode = addWaveformSignalRenderer(
type, options, ::WaveformRendererAbstract::Slip);
auto pNode = dynamic_cast<rendergraph::BaseNode*>(pSlipNode.release());
auto* pNode = dynamic_cast<rendergraph::BaseNode*>(pSlipNode.release());
DEBUG_ASSERT(pNode);
pOpacityNode->appendChildNode(std::unique_ptr<rendergraph::BaseNode>(pNode));
pOpacityNode->appendChildNode(
Expand Down

0 comments on commit f3211d5

Please sign in to comment.