From 71d64ca6f844e4a0ac358b6fa792084aa4f67050 Mon Sep 17 00:00:00 2001 From: Louis Gombert Date: Mon, 19 Aug 2024 10:19:19 +0000 Subject: [PATCH] Remove usage of boost archive --- src/StdMeshers/StdMeshers_BlockRenumber.cxx | 10 +++++----- src/StdMeshers/StdMeshers_BlockRenumber.hxx | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/StdMeshers/StdMeshers_BlockRenumber.cxx b/src/StdMeshers/StdMeshers_BlockRenumber.cxx index bcd975d4c..f0e8fdec5 100644 --- a/src/StdMeshers/StdMeshers_BlockRenumber.cxx +++ b/src/StdMeshers/StdMeshers_BlockRenumber.cxx @@ -34,14 +34,14 @@ #include #include #include -#include +// #include #include #include #include #include -#include +// #include //============================================================================= /*! @@ -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 ); diff --git a/src/StdMeshers/StdMeshers_BlockRenumber.hxx b/src/StdMeshers/StdMeshers_BlockRenumber.hxx index f25c5bf8f..ae908fe2b 100644 --- a/src/StdMeshers/StdMeshers_BlockRenumber.hxx +++ b/src/StdMeshers/StdMeshers_BlockRenumber.hxx @@ -38,7 +38,7 @@ #include #include -#include +// #include #include 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 void serialize( Archive & ar, const unsigned int /*version*/ ) { ar & _blockCS;