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:
@@ -34,6 +34,7 @@
|
||||
#include <QDateTime>
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
#include <memory>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -68,7 +69,7 @@ bool RifRevealCsvSectionSummaryReader::parse( const QString&
|
||||
parseOptions.timeSeriesColumnName = "Date";
|
||||
parseOptions.defaultCategory = defaultCategory;
|
||||
|
||||
m_parser = std::unique_ptr<RifCsvUserDataPastedTextParser>( new RifCsvUserDataPastedTextParser( text, errorText ) );
|
||||
m_parser = std::make_unique<RifCsvUserDataPastedTextParser>( text, errorText );
|
||||
std::map<QString, std::pair<QString, double>> unitMapping = { { "Sm3", { "SM3", 1.0 } },
|
||||
{ "Sm3/day", { "SM3/DAY", 1.0 } },
|
||||
{ "Sm3/day/bar", { "SM3/DAY/BAR", 1.0 } },
|
||||
|
||||
Reference in New Issue
Block a user