From cd38c0dba20a7c26c4fe45d6d7fcb0f366ca5035 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Mon, 16 Apr 2012 19:25:37 +0200 Subject: [PATCH] GconinjeLine: Fix warnings. Initialise fields in declaration order. --- opm/core/eclipse/SpecialEclipseFields.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/opm/core/eclipse/SpecialEclipseFields.hpp b/opm/core/eclipse/SpecialEclipseFields.hpp index 15afd936..360acc60 100644 --- a/opm/core/eclipse/SpecialEclipseFields.hpp +++ b/opm/core/eclipse/SpecialEclipseFields.hpp @@ -1004,8 +1004,9 @@ struct GconinjeLine // Default values GconinjeLine() : - surface_flow_max_rate_(1.0E20), reinjection_fraction_target_(1E20), - resv_flow_max_rate_(1E20) + surface_flow_max_rate_(1.0E20), + resv_flow_max_rate_(1E20), + reinjection_fraction_target_(1E20) { } };