Remove usage of boost archive

This commit is contained in:
Louis Gombert 2024-08-19 10:19:19 +00:00
parent ec1ac16769
commit 71d64ca6f8
2 changed files with 7 additions and 7 deletions

View File

@ -34,14 +34,14 @@
#include <SMESH_Mesh.hxx>
#include <SMESH_MesherHelper.hxx>
#include <SMESH_TryCatch.hxx>
#include <SMESH_BoostTxtArchive.hxx>
// #include <SMESH_BoostTxtArchive.hxx>
#include <BRep_Tool.hxx>
#include <TopExp_Explorer.hxx>
#include <TopTools_MapOfShape.hxx>
#include <TopoDS.hxx>
#include <boost/archive/text_oarchive.hpp>
// #include <boost/archive/text_oarchive.hpp>
//=============================================================================
/*!
@ -280,8 +280,8 @@ void StdMeshers_RenumberHelper::DoReplaceNodes()
ostream & StdMeshers_BlockRenumber::SaveTo(ostream & save)
{
boost::archive::text_oarchive archive( save );
archive << *this;
// boost::archive::text_oarchive archive( save );
// archive << *this;
return save;
}
@ -296,7 +296,7 @@ istream & StdMeshers_BlockRenumber::LoadFrom(istream & load)
{
SMESH_TRY;
SMESHUtils::BoostTxtArchive( load ) >> *this;
// SMESHUtils::BoostTxtArchive( load ) >> *this;
SMESH_CATCH( SMESH::doNothing );

View File

@ -38,7 +38,7 @@
#include <TopTools_MapOfShape.hxx>
#include <TopoDS_Vertex.hxx>
#include <boost/serialization/vector.hpp>
// #include <boost/serialization/vector.hpp>
#include <map>
class SMESH_Mesh;
@ -114,7 +114,7 @@ public:
private:
// Persistence: define both input and output at once
friend class boost::serialization::access;
// friend class boost::serialization::access;
template<class Archive> void serialize( Archive & ar, const unsigned int /*version*/ )
{
ar & _blockCS;