#24666 [CEA][Windows] BLSURPLUGIN compilation issue

This commit is contained in:
rnv 2021-07-29 14:35:26 +03:00
parent e9ce775931
commit f016bdf914
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;