mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes by clang-tidy
This commit is contained in:
@@ -129,6 +129,7 @@
|
||||
#include <QMenu>
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RimProject, "ResInsightProject" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -1545,7 +1546,7 @@ QString RimProject::updatedFilePathFromPathId( QString filePath, RiaVariableMapp
|
||||
|
||||
if ( pathListMapper == nullptr )
|
||||
{
|
||||
internalMapper.reset( new RiaVariableMapper( m_globalPathList ) );
|
||||
internalMapper = std::make_unique<RiaVariableMapper>( m_globalPathList );
|
||||
pathListMapper = internalMapper.get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user