mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-01 08:38:00 -06:00
Fixes by clang-tidy
This commit is contained in:
1 parent
4a2e730ee0
commit
fc2106edb0
33 files changed
+115
-85
No files matched your search
@@ -33,6 +33,7 @@
|
||||
#include <QDateTime>
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
#include <memory>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -76,7 +77,7 @@ std::pair<bool, QString> RifStimPlanCsvSummaryReader::parse( const QString& file
|
||||
parseOptions.timeSeriesColumnName = "Time";
|
||||
parseOptions.startDateTime = startDateTime;
|
||||
|
||||
m_parser = std::unique_ptr<RifCsvUserDataPastedTextParser>( new RifCsvUserDataPastedTextParser( fileContents, errorText ) );
|
||||
m_parser = std::make_unique<RifCsvUserDataPastedTextParser>( fileContents, errorText );
|
||||
|
||||
if ( !m_parser->parse( parseOptions ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user