From: gdd Date: Mon, 7 Mar 2011 12:50:45 +0000 (+0000) Subject: Fix std::exception() call X-Git-Tag: Start_BR_19998_21191~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=55036f53f5c10a470790be4fa140abc66d050b84;p=plugins%2Fblsurfplugin.git Fix std::exception() call --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx index 32d817a..734313b 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx @@ -1125,7 +1125,7 @@ std::istream & BLSURFPlugin_Hypothesis::LoadFrom(std::istream & load) { if (enfSeparator == "__ENFORCED_VERTICES_END__") break; // __ENFORCED_VERTICES_END__ if (enfSeparator != "__BEGIN_VERTEX__") - throw std::exception::exception(); + throw std::exception(); while (isOK) { isOK = (load >> enfSeparator); @@ -1181,7 +1181,7 @@ std::istream & BLSURFPlugin_Hypothesis::LoadFrom(std::istream & load) { isOK = (load >> enfGeomEntry); isOK = (load >> enfSeparator); // __END_ENTRY__ if (enfSeparator != "__END_ENTRY__") - throw std::exception::exception(); + throw std::exception(); MESSAGE("enfGeomEntry: " <> enfCoords[0] >> enfCoords[1] >> enfCoords[2]); isOK = (load >> enfSeparator); // __END_COORDS__ if (enfSeparator != "__END_COORDS__") - throw std::exception::exception(); + throw std::exception(); MESSAGE("enfCoords: " << enfCoords[0] <<","<< enfCoords[1] <<","<< enfCoords[2]); }