From 2bcadbb42a6fb2f096c1fc0a4b957d64a5024ef6 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 11 Oct 2006 15:50:15 +0000 Subject: Turned up gcc warnings, fixed warnings in code, enabled -Werror. Note: #include "qpid_test_plugin.h" instead of Works around warning from a cppunit macro. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462834 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/broker/src/Configuration.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/broker/src/Configuration.cpp') diff --git a/cpp/broker/src/Configuration.cpp b/cpp/broker/src/Configuration.cpp index aceb35bc87..11c2d374fe 100644 --- a/cpp/broker/src/Configuration.cpp +++ b/cpp/broker/src/Configuration.cpp @@ -16,6 +16,7 @@ * */ #include "Configuration.h" +#include using namespace qpid::broker; using namespace std; @@ -191,5 +192,5 @@ bool Configuration::BoolOption::needsValue() const { } void Configuration::BoolOption::setValue(const std::string& _value){ - value = true; + value = strcasecmp(_value.c_str(), "true") == 0; } -- cgit v1.2.1