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:
@@ -30,6 +30,7 @@
|
||||
#include "cafPdmObjectScriptingCapability.h"
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <memory>
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RimFileSurface, "Surface", "FileSurface" );
|
||||
|
||||
@@ -170,7 +171,7 @@ bool RimFileSurface::loadDataFromFile()
|
||||
}
|
||||
else if ( filePath.endsWith( "ts", Qt::CaseInsensitive ) )
|
||||
{
|
||||
m_gocadData.reset( new RigGocadData );
|
||||
m_gocadData = std::make_unique<RigGocadData>();
|
||||
|
||||
RifSurfaceImporter::readGocadFile( filePath, m_gocadData.get() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user