Salome HOME
PAL14921 (memory limitation and Salome freeze)
authoreap <eap@opencascade.com>
Fri, 18 May 2007 08:36:34 +0000 (08:36 +0000)
committereap <eap@opencascade.com>
Fri, 18 May 2007 08:36:34 +0000 (08:36 +0000)
+  bool error(const SMESH_Comment& comment = "")
+  { return error(COMPERR_ALGO_FAILED, comment); }

src/SMESH/SMESH_Algo.hxx

index 68e9b0911fdd0ab35c59f3307cf30cb637ced580..d2cde332ee7f5358b14b5b08e86c99fbaa40ace2 100644 (file)
@@ -277,9 +277,10 @@ protected:
    */
   bool error(int error, const SMESH_Comment& comment = "");
   /*!
-   * \brief To be used as error in previous method
+   * \brief store COMPERR_ALGO_FAILED error and comment and then return false
    */
-  SMESH_ComputeErrorName dfltErr() const { return COMPERR_ALGO_FAILED; }
+  bool error(const SMESH_Comment& comment = "")
+  { return error(COMPERR_ALGO_FAILED, comment); }
   /*!
    * \brief store error and return error->IsOK()
    */