From a48b932c49a7b088d5e1d9a0a2f8f31339e1ee15 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 18 May 2007 08:36:34 +0000 Subject: [PATCH] PAL14921 (memory limitation and Salome freeze) + bool error(const SMESH_Comment& comment = "") + { return error(COMPERR_ALGO_FAILED, comment); } --- src/SMESH/SMESH_Algo.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SMESH/SMESH_Algo.hxx b/src/SMESH/SMESH_Algo.hxx index 68e9b0911..d2cde332e 100644 --- a/src/SMESH/SMESH_Algo.hxx +++ b/src/SMESH/SMESH_Algo.hxx @@ -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() */ -- 2.39.2