diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 21:05:01 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-23 21:05:01 +0000 |
commit | 6720b7bccb583f29b6f7a446c38509ffe27e1cd8 (patch) | |
tree | 2428fcc720441c8be267c94ef91338fab3f0ba00 | |
parent | 2e1f86fd0c9911210b79e6ac346672441eef18c4 (diff) |
Visual studio doesnt like throw definitions like this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8324 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/configreader.h | 2 | ||||
-rw-r--r-- | src/configreader.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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); |