From 02af9159178eb1f7508cc7b75755260ee3ff30ed Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 18 Mar 2020 09:29:02 +0100 Subject: [PATCH] remove old serialization support for Dimension --- opm/simulators/utils/ParallelRestart.hpp | 2 -- tests/test_ParallelRestart.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/opm/simulators/utils/ParallelRestart.hpp b/opm/simulators/utils/ParallelRestart.hpp index a8a783851..ccd9b1097 100644 --- a/opm/simulators/utils/ParallelRestart.hpp +++ b/opm/simulators/utils/ParallelRestart.hpp @@ -40,7 +40,6 @@ namespace Opm { -class Dimension; class UnitSystem; class VFPInjTable; class VFPProdTable; @@ -350,7 +349,6 @@ ADD_PACK_PROTOTYPES(data::Segment) ADD_PACK_PROTOTYPES(data::Solution) ADD_PACK_PROTOTYPES(data::Well) ADD_PACK_PROTOTYPES(data::WellRates) -ADD_PACK_PROTOTYPES(Dimension) ADD_PACK_PROTOTYPES(RestartKey) ADD_PACK_PROTOTYPES(RestartValue) ADD_PACK_PROTOTYPES(std::string) diff --git a/tests/test_ParallelRestart.cpp b/tests/test_ParallelRestart.cpp index a71e5a023..a23c7369b 100644 --- a/tests/test_ParallelRestart.cpp +++ b/tests/test_ParallelRestart.cpp @@ -1542,7 +1542,7 @@ BOOST_AUTO_TEST_CASE(Dimension) { #ifdef HAVE_MPI Opm::Dimension val1(1.0, 2.0); - auto val2 = PackUnpack(val1); + auto val2 = PackUnpack2(val1); DO_CHECKS(Dimension) #endif }