changed: rename the packer used in test_Serialization to MemPacker
make it a public header so it can be reused elsewhere.
This commit is contained in:
@@ -140,12 +140,12 @@
|
||||
#include <opm/output/data/Aquifer.hpp>
|
||||
#include <opm/output/eclipse/RestartValue.hpp>
|
||||
#include <opm/common/utility/Serializer.hpp>
|
||||
#include "SimplePacker.hpp"
|
||||
#include <opm/common/utility/MemPacker.hpp>
|
||||
|
||||
template<class T>
|
||||
std::tuple<T,int,int> PackUnpack(T& in)
|
||||
{
|
||||
Opm::TestUtil::Packer packer;
|
||||
Opm::Serialization::MemPacker packer;
|
||||
Opm::Serializer ser(packer);
|
||||
ser.pack(in);
|
||||
size_t pos1 = ser.position();
|
||||
|
||||
Reference in New Issue
Block a user