From 03bc3487c040ab35a8c5c4db33abbd573680ed69 Mon Sep 17 00:00:00 2001 From: Fons Rademakers <Fons.Rademakers@cern.ch> Date: Thu, 16 Nov 2006 10:15:14 +0000 Subject: [PATCH] Remove the Check and Assert defines. They have been depricated and flagged by warnings since the last pro release. git-svn-id: http://root.cern.ch/svn/root/trunk@16787 27541ba8-7e3a-0410-8455-c3a389f83636 --- base/inc/TError.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/base/inc/TError.h b/base/inc/TError.h index 3d029392052..71bf9b90f41 100644 --- a/base/inc/TError.h +++ b/base/inc/TError.h @@ -1,4 +1,4 @@ -// @(#)root/base:$Name: $:$Id: TError.h,v 1.7 2006/06/09 01:16:56 rdm Exp $ +// @(#)root/base:$Name: $:$Id: TError.h,v 1.8 2006/10/18 09:26:58 rdm Exp $ // Author: Fons Rademakers 29/07/95 /************************************************************************* @@ -80,18 +80,6 @@ R__EXTERN const char *kCheckMsg; if (!(e)) Warning("", kCheckMsg, _QUOTE_(e), __LINE__, __FILE__); \ } while (0) -// deprecated macros (will be removed in next release) -#define Assert(e) \ - do { \ - if (!(e)) Fatal("", kAssertMsg, _QUOTE_(e), __LINE__, __FILE__); \ - Warning("", "please change Assert to R__ASSERT in %s at line %d", __FILE__, __LINE__); \ - } while (0) -#define Check(e) \ - do { \ - if (!(e)) Warning("", kCheckMsg, _QUOTE_(e), __LINE__, __FILE__); \ - Warning("", "please change Check to R__CHECK in %s at line %d", __FILE__, __LINE__); \ - } while (0) - R__EXTERN Int_t gErrorIgnoreLevel; R__EXTERN Int_t gErrorAbortLevel; R__EXTERN Bool_t gPrintViaErrorHandler; -- GitLab