From c720dfe8a8f42520bb2233a0c1b47e7e393ad5e7 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 10 Jul 2019 09:01:34 +0200 Subject: [PATCH] fixed: move string to avoid copy --- test_util/EclRegressionTest.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_util/EclRegressionTest.hpp b/test_util/EclRegressionTest.hpp index 25c656cf0..12cba9e97 100644 --- a/test_util/EclRegressionTest.hpp +++ b/test_util/EclRegressionTest.hpp @@ -80,7 +80,7 @@ public: } void compareSpesificKeyword(std::string keyword) { - this->spesificKeyword = keyword; + this->spesificKeyword = std::move(keyword); } void compareSpesificRstReportStepNumber(int seqn) { this->spesificSequence = seqn;