From 8a1b35d4f6f386742e64c6ad09634bf39e705a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Mon, 2 Mar 2015 10:28:55 +0100 Subject: [PATCH] Fix unneeded-internal-declaration warning. Again related to anonymous namespace function only being used in template functions. --- opm/core/simulator/initStateEquil_impl.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/core/simulator/initStateEquil_impl.hpp b/opm/core/simulator/initStateEquil_impl.hpp index 915fc4ba0..642fc5695 100644 --- a/opm/core/simulator/initStateEquil_impl.hpp +++ b/opm/core/simulator/initStateEquil_impl.hpp @@ -767,7 +767,7 @@ namespace Opm } // namespace Equil - namespace + namespace Details { /// Convert saturations from a vector of individual phase saturation vectors /// to an interleaved format where all values for a given cell come before all @@ -784,7 +784,7 @@ namespace Opm } return s; } - } + } // namespace Details /** @@ -817,7 +817,7 @@ namespace Opm ? pu.phase_pos[BlackoilPhases::Liquid] : pu.phase_pos[BlackoilPhases::Aqua]; state.pressure() = isc.press()[ref_phase]; - state.saturation() = convertSats(isc.saturation()); + state.saturation() = Details::convertSats(isc.saturation()); state.gasoilratio() = isc.rs(); state.rv() = isc.rv(); initBlackoilSurfvolUsingRSorRV(UgGridHelpers::numCells(grid), props, state);