From d91c972d3c2c097454bc8ec7a9fcb5b4cb7449c7 Mon Sep 17 00:00:00 2001 From: lotodore Date: Thu, 18 Oct 2007 21:13:06 +0000 Subject: [PATCH] Fixed gcc compiler error. --- src/engine/local_engine/localexception.h | 2 +- src/net/clientexception.h | 2 +- src/net/netexception.h | 2 +- src/net/serverexception.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engine/local_engine/localexception.h b/src/engine/local_engine/localexception.h index 1d448dbf..37aae1b2 100644 --- a/src/engine/local_engine/localexception.h +++ b/src/engine/local_engine/localexception.h @@ -29,7 +29,7 @@ public: LocalException(const char *sourcefile, int sourceline, int errorId) : PokerTHException(sourcefile, sourceline, errorId, 0) {} - virtual ~LocalException(); + virtual ~LocalException() throw(); }; #endif diff --git a/src/net/clientexception.h b/src/net/clientexception.h index 66148c0c..eb809fc0 100644 --- a/src/net/clientexception.h +++ b/src/net/clientexception.h @@ -30,7 +30,7 @@ public: ClientException(const char *sourcefile, int sourceline, int errorId, int osErrorCode) : NetException(sourcefile, sourceline, errorId, osErrorCode) {} - virtual ~ClientException(); + virtual ~ClientException() throw(); }; #endif diff --git a/src/net/netexception.h b/src/net/netexception.h index 19e47921..dd0e40e3 100644 --- a/src/net/netexception.h +++ b/src/net/netexception.h @@ -29,7 +29,7 @@ public: NetException(const char *sourcefile, int sourceline, int errorId, int osErrorCode) : PokerTHException(sourcefile, sourceline, errorId, osErrorCode) {} - virtual ~NetException(); + virtual ~NetException() throw(); }; #endif diff --git a/src/net/serverexception.h b/src/net/serverexception.h index c4e2999d..16265009 100644 --- a/src/net/serverexception.h +++ b/src/net/serverexception.h @@ -30,7 +30,7 @@ public: ServerException(const char *sourcefile, int sourceline, int errorId, int osErrorCode) : NetException(sourcefile, sourceline, errorId, osErrorCode) {} - virtual ~ServerException(); + virtual ~ServerException() throw(); }; #endif