From: rnv Date: Thu, 29 Jul 2021 11:37:09 +0000 (+0300) Subject: #24666 [CEA][Windows] BLSURPLUGIN compilation issue X-Git-Tag: V9_8_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=be6ed5205e485a250494866dcc3a6b55421c63f0;hp=0a057ad10d10cbec461c916216f468dbe94390c7;p=plugins%2Fblsurfplugin.git #24666 [CEA][Windows] BLSURPLUGIN compilation issue --- 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 );