From be6ed5205e485a250494866dcc3a6b55421c63f0 Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 29 Jul 2021 14:37:09 +0300 Subject: [PATCH 1/1] #24666 [CEA][Windows] BLSURPLUGIN compilation issue --- src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx index bc094a3..f583e98 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx @@ -2351,13 +2351,13 @@ std::ostream & BLSURFPlugin_Hypothesis::SaveTo(std::ostream & save) std::ostringstream hpStream; boost::archive::text_oarchive( hpStream ) << _hyperPatchEntriesList; std::string hpString = hpStream.str(); - SMESHDS_Hypothesis::SaveString( save, hpString ); + SMESHDS_Hypothesis::SaveStringToStream( save, hpString ); // Enforced meshes std::ostringstream enfMStream; boost::archive::text_oarchive( enfMStream ) << _enforcedMeshes; std::string enfMString = enfMStream.str(); - SMESHDS_Hypothesis::SaveString( save, enfMString ); + SMESHDS_Hypothesis::SaveStringToStream( save, enfMString ); return save; } @@ -3393,7 +3393,7 @@ std::istream & BLSURFPlugin_Hypothesis::LoadFrom(std::istream & load) // hyper-patches as entries (issue bos #20543) std::string buffer; - if ( SMESHDS_Hypothesis::LoadString( load, buffer )) + if ( SMESHDS_Hypothesis::LoadStringFromStream( load, buffer )) { std::istringstream istream( buffer.data() ); boost::archive::text_iarchive archive( istream ); @@ -3404,7 +3404,7 @@ std::istream & BLSURFPlugin_Hypothesis::LoadFrom(std::istream & load) // Enforced meshes (issue bos $16292) buffer.clear(); - if ( SMESHDS_Hypothesis::LoadString( load, buffer )) + if ( SMESHDS_Hypothesis::LoadStringFromStream( load, buffer )) { std::istringstream istream( buffer.data() ); boost::archive::text_iarchive archive( istream ); -- 2.39.2