From b860fdbccca1edd37885d7634f9dd298cf703477 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 10 Jul 2019 09:01:16 +0200 Subject: [PATCH] fixed: use initializer list --- test_util/EclFilesComparator.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test_util/EclFilesComparator.cpp b/test_util/EclFilesComparator.cpp index b2a930ba8..9e8bb708c 100644 --- a/test_util/EclFilesComparator.cpp +++ b/test_util/EclFilesComparator.cpp @@ -98,10 +98,8 @@ template void ECLFilesComparator::printValuesForCell (const std: ECLFilesComparator::ECLFilesComparator(const std::string& basename1, const std::string& basename2, double absToleranceArg, double relToleranceArg) : + rootName1(basename1), rootName2(basename2), absTolerance(absToleranceArg), relTolerance(relToleranceArg) { - - rootName1 = basename1; - rootName2 = basename2; }