From: rnv Date: Thu, 29 Jul 2021 11:35:26 +0000 (+0300) Subject: #24666 [CEA][Windows] BLSURPLUGIN compilation issue X-Git-Tag: V9_8_0a1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f016bdf914220827ec8f9a7048bc78fc3fb8c299;p=modules%2Fsmesh.git #24666 [CEA][Windows] BLSURPLUGIN compilation issue --- diff --git a/src/SMESHDS/SMESHDS_Hypothesis.cxx b/src/SMESHDS/SMESHDS_Hypothesis.cxx index 38482c2a2..712ab920d 100644 --- a/src/SMESHDS/SMESHDS_Hypothesis.cxx +++ b/src/SMESHDS/SMESHDS_Hypothesis.cxx @@ -121,7 +121,7 @@ bool SMESHDS_Hypothesis::IsSameName( const SMESHDS_Hypothesis& other) const */ //================================================================================ -void SMESHDS_Hypothesis::SaveString(std::ostream & save, const std::string& txt ) +void SMESHDS_Hypothesis::SaveStringToStream(std::ostream & save, const std::string& txt ) { save << " " << txt.size() << " " << txt; } @@ -132,7 +132,7 @@ void SMESHDS_Hypothesis::SaveString(std::ostream & save, const std::string& txt */ //================================================================================ -bool SMESHDS_Hypothesis::LoadString(std::istream & load, std::string& txt ) +bool SMESHDS_Hypothesis::LoadStringFromStream(std::istream & load, std::string& txt ) { txt.clear(); int size = -1; diff --git a/src/SMESHDS/SMESHDS_Hypothesis.hxx b/src/SMESHDS/SMESHDS_Hypothesis.hxx index 0c16c46a2..5ecf50789 100644 --- a/src/SMESHDS/SMESHDS_Hypothesis.hxx +++ b/src/SMESHDS/SMESHDS_Hypothesis.hxx @@ -48,8 +48,8 @@ class SMESHDS_EXPORT SMESHDS_Hypothesis virtual std::ostream & SaveTo(std::ostream & save)=0; virtual std::istream & LoadFrom(std::istream & load)=0; - static void SaveString(std::ostream & save, const std::string& txt ); - static bool LoadString(std::istream & load, std::string& txt ); + static void SaveStringToStream(std::ostream & save, const std::string& txt ); + static bool LoadStringFromStream(std::istream & load, std::string& txt ); bool IsSameName( const SMESHDS_Hypothesis& other) const; virtual bool operator==(const SMESHDS_Hypothesis& other) const;