From 0d1a7cb65b7b0f5ecc8e3cd6fbabdebab7f47f7f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 6 Aug 2009 21:28:41 +0200 Subject: Revised server config format --- src/Core/Configurable.h | 2 +- src/Core/Exception.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Core') diff --git a/src/Core/Configurable.h b/src/Core/Configurable.h index 6eb4cd6..c526379 100644 --- a/src/Core/Configurable.h +++ b/src/Core/Configurable.h @@ -37,7 +37,7 @@ class Configurable { Configurable() {} - virtual bool handleConfigEntry(const ConfigEntry&, bool) {return false;} + virtual bool handleConfigEntry(const ConfigEntry& /*entry*/, bool /*handled*/) {return false;} virtual void configFinished() {} }; diff --git a/src/Core/Exception.cpp b/src/Core/Exception.cpp index ba8b114..af39654 100644 --- a/src/Core/Exception.cpp +++ b/src/Core/Exception.cpp @@ -45,6 +45,8 @@ std::string Exception::strerror() const { return ret + "Not implemented"; case NOT_FOUND: return ret + "Not found"; + case INVALID_INPUT: + return ret + "Invalid input"; case INTERNAL_ERRNO: return ret + std::strerror(subCode); case INVALID_ADDRESS: -- cgit v1.2.3