From 55036f53f5c10a470790be4fa140abc66d050b84 Mon Sep 17 00:00:00 2001 From: gdd Date: Mon, 7 Mar 2011 12:50:45 +0000 Subject: [PATCH] Fix std::exception() call --- src/BLSURFPlugin/BLSURFPlugin_Hypothesis.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]); } -- 2.39.2