From: brain Date: Tue, 23 Oct 2007 21:05:01 +0000 (+0000) Subject: Visual studio doesnt like throw definitions like this X-Git-Tag: v2.0.23~4371 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=6720b7bccb583f29b6f7a446c38509ffe27e1cd8;p=user%2Fhenk%2Fcode%2Finspircd.git Visual studio doesnt like throw definitions like this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8324 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/include/configreader.h b/include/configreader.h index 2bb7af091..37e3c1f44 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -235,7 +235,7 @@ class CoreExport ServerConfig : public Extensible /** Check that there is only one of each configuration item */ - bool CheckOnce(char* tag) throw (CoreException); + bool CheckOnce(char* tag); public: diff --git a/src/configreader.cpp b/src/configreader.cpp index d84aee5d4..a0fe67c5f 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -151,7 +151,7 @@ void ServerConfig::Send005(User* user) user->WriteServ("005 %s %s", user->nick, line->c_str()); } -bool ServerConfig::CheckOnce(char* tag) throw (CoreException) +bool ServerConfig::CheckOnce(char* tag) { int count = ConfValueEnum(this->config_data, tag);