From d5b8c968e14a81b85953ff761a925e5d144f6a1c Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 18 Feb 2025 09:23:52 +0100 Subject: [PATCH] simplify: no reason to explicitly make pair --- opm/simulators/flow/RFTContainer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/simulators/flow/RFTContainer.cpp b/opm/simulators/flow/RFTContainer.cpp index 4709485042..7aa88611f8 100644 --- a/opm/simulators/flow/RFTContainer.cpp +++ b/opm/simulators/flow/RFTContainer.cpp @@ -156,15 +156,15 @@ allocate(const std::size_t reportStepNum) const std::size_t index = connection.global_index(); if (FluidSystem::phaseIsActive(oilPhaseIdx)) { - oilConnectionPressures_.emplace(std::make_pair(index, 0.0)); + oilConnectionPressures_.emplace(index, 0.0); } if (FluidSystem::phaseIsActive(waterPhaseIdx)) { - waterConnectionSaturations_.emplace(std::make_pair(index, 0.0)); + waterConnectionSaturations_.emplace(index, 0.0); } if (FluidSystem::phaseIsActive(gasPhaseIdx)) { - gasConnectionSaturations_.emplace(std::make_pair(index, 0.0)); + gasConnectionSaturations_.emplace(index, 0.0); } } }