diff --git a/opm/simulators/utils/ParallelRestart.hpp b/opm/simulators/utils/ParallelRestart.hpp index aad0ce9be..fe8421860 100644 --- a/opm/simulators/utils/ParallelRestart.hpp +++ b/opm/simulators/utils/ParallelRestart.hpp @@ -34,7 +34,9 @@ #include #include #include +#include #include +#include #include #include @@ -58,7 +60,8 @@ template std::size_t packSize(const T&, Dune::MPIHelper::MPICommunicator, std::integral_constant) { - OPM_THROW(std::logic_error, "Packing not (yet) supported for this non-pod type."); + std::string msg = std::string{"Packing not (yet) supported for non-pod type: "} + typeid(T).name(); + OPM_THROW(std::logic_error, msg); } template