From 3e373be4585706b2c0c84ce07ba6d1d0e039dc80 Mon Sep 17 00:00:00 2001 From: lotodore Date: Thu, 18 Oct 2007 21:16:49 +0000 Subject: [PATCH] Fixed gcc compiler error. --- src/core/common/pokerthexception.cpp | 4 ++-- src/engine/local_engine/localexception.cpp | 2 +- src/net/common/clientexception.cpp | 2 +- src/net/common/netexception.cpp | 2 +- src/net/common/serverexception.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/common/pokerthexception.cpp b/src/core/common/pokerthexception.cpp index c3c99dcc..872f1048 100644 --- a/src/core/common/pokerthexception.cpp +++ b/src/core/common/pokerthexception.cpp @@ -32,12 +32,12 @@ PokerTHException::PokerTHException(const char *sourcefile, int sourceline, int e m_msg = msgStream.str(); } -PokerTHException::~PokerTHException() +PokerTHException::~PokerTHException() throw() { } const char * -PokerTHException::what() const +PokerTHException::what() const throw() { return m_msg.c_str(); } diff --git a/src/engine/local_engine/localexception.cpp b/src/engine/local_engine/localexception.cpp index 1d04cee3..46e3b379 100644 --- a/src/engine/local_engine/localexception.cpp +++ b/src/engine/local_engine/localexception.cpp @@ -20,7 +20,7 @@ #include "localexception.h" -LocalException::~LocalException() +LocalException::~LocalException() throw() { } diff --git a/src/net/common/clientexception.cpp b/src/net/common/clientexception.cpp index 48293d0e..f1226f18 100644 --- a/src/net/common/clientexception.cpp +++ b/src/net/common/clientexception.cpp @@ -20,7 +20,7 @@ #include -ClientException::~ClientException() +ClientException::~ClientException() throw() { } diff --git a/src/net/common/netexception.cpp b/src/net/common/netexception.cpp index f5d93b3f..f70c295b 100644 --- a/src/net/common/netexception.cpp +++ b/src/net/common/netexception.cpp @@ -20,7 +20,7 @@ #include -NetException::~NetException() +NetException::~NetException() throw() { } diff --git a/src/net/common/serverexception.cpp b/src/net/common/serverexception.cpp index b707d611..cae5bc08 100644 --- a/src/net/common/serverexception.cpp +++ b/src/net/common/serverexception.cpp @@ -20,7 +20,7 @@ #include -ServerException::~ServerException() +ServerException::~ServerException() throw() { }