diff --git a/opm/simulators/utils/ParallelRestart.cpp b/opm/simulators/utils/ParallelRestart.cpp index 3aeebcb34..52585b8c7 100644 --- a/opm/simulators/utils/ParallelRestart.cpp +++ b/opm/simulators/utils/ParallelRestart.cpp @@ -362,7 +362,6 @@ HANDLE_AS_POD(VISCREFRecord) HANDLE_AS_POD(WATDENTRecord) HANDLE_AS_POD(WellBrineProperties) HANDLE_AS_POD(WellFoamProperties) -HANDLE_AS_POD(WellSegmentDims) std::size_t packSize(const data::Well& data, Dune::MPIHelper::MPICommunicator comm) { diff --git a/opm/simulators/utils/ParallelRestart.hpp b/opm/simulators/utils/ParallelRestart.hpp index df5fa9e38..b5d017e0f 100644 --- a/opm/simulators/utils/ParallelRestart.hpp +++ b/opm/simulators/utils/ParallelRestart.hpp @@ -146,7 +146,6 @@ class WellConnections; class WellEconProductionLimits; class WellFoamProperties; class WellPolymerProperties; -class WellSegmentDims; class WellSegments; class WellTracerProperties; class WList; @@ -601,7 +600,6 @@ ADD_PACK_PROTOTYPES(WellConnections) ADD_PACK_PROTOTYPES(WellEconProductionLimits) ADD_PACK_PROTOTYPES(WellFoamProperties) ADD_PACK_PROTOTYPES(WellPolymerProperties) -ADD_PACK_PROTOTYPES(WellSegmentDims) ADD_PACK_PROTOTYPES(WellSegments) ADD_PACK_PROTOTYPES(WellTestConfig) ADD_PACK_PROTOTYPES(WellTestConfig::WTESTWell) diff --git a/tests/test_ParallelRestart.cpp b/tests/test_ParallelRestart.cpp index 868fd2ca7..d8ecccd29 100644 --- a/tests/test_ParallelRestart.cpp +++ b/tests/test_ParallelRestart.cpp @@ -951,7 +951,7 @@ BOOST_AUTO_TEST_CASE(WellSegmentDims) { #if HAVE_MPI Opm::WellSegmentDims val1(1,2,3); - auto val2 = PackUnpack(val1); + auto val2 = PackUnpack2(val1); DO_CHECKS(WellSegmentDims) #endif }