From f016bdf914220827ec8f9a7048bc78fc3fb8c299 Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 29 Jul 2021 14:35:26 +0300 Subject: [PATCH] #24666 [CEA][Windows] BLSURPLUGIN compilation issue --- src/SMESHDS/SMESHDS_Hypothesis.cxx | 4 ++-- src/SMESHDS/SMESHDS_Hypothesis.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;