Fixes by clang-tidy

This commit is contained in:
magnesj
2024-09-02 11:35:00 +00:00
committed by Magne Sjaastad
parent 4a2e730ee0
commit fc2106edb0
33 changed files with 115 additions and 85 deletions

View File

@@ -66,6 +66,7 @@
#include <algorithm>
#include <QLabel>
#include <memory>
using cvf::ManipulatorTrackball;
@@ -1321,7 +1322,7 @@ void RiuViewer::showScaleLegend( bool show )
//--------------------------------------------------------------------------------------------------
void RiuViewer::setHoverCursor( const QCursor& cursor )
{
s_hoverCursor.reset( new QCursor( cursor ) );
s_hoverCursor = std::make_unique<QCursor>( cursor );
}
//--------------------------------------------------------------------------------------------------