From 7af8c61b3dbf3151658ca1e3a0be758b1989eff5 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 26 Jul 2016 15:35:49 +0300 Subject: [PATCH] Fix compilation error. --- src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx index 07daee8..90b3420 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis_i.cxx @@ -2728,7 +2728,7 @@ void BLSURFPlugin_Hypothesis_i::CheckShapeTypes(GEOM::GEOM_Object_ptr shape, std if (!ok){ std::stringstream msg; msg << "shape shape type is not in" << typesTxt.str(); - MESSAGE(msg); + MESSAGE(msg.str()); THROW_SALOME_CORBA_EXCEPTION(msg.str().c_str(), SALOME::BAD_PARAM); } } @@ -2739,7 +2739,7 @@ void BLSURFPlugin_Hypothesis_i::CheckShapeType(GEOM::GEOM_Object_ptr shape, GEOM if (shape->GetShapeType() != theShapeType) { std::stringstream msg; msg << "shape shape type is not " << ShapeTypeToString(theShapeType); - MESSAGE(msg); + MESSAGE(msg.str()); THROW_SALOME_CORBA_EXCEPTION(msg.str().c_str(), SALOME::BAD_PARAM); } } -- 2.39.2