From ac3335857e3b30b99240c2a7638c8aed31d3e78d 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@462834 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/broker/test/TopicExchangeTest.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'qpid/cpp/broker/test/TopicExchangeTest.cpp') diff --git a/qpid/cpp/broker/test/TopicExchangeTest.cpp b/qpid/cpp/broker/test/TopicExchangeTest.cpp index 4653540040..d9b49fc603 100644 --- a/qpid/cpp/broker/test/TopicExchangeTest.cpp +++ b/qpid/cpp/broker/test/TopicExchangeTest.cpp @@ -1,8 +1,5 @@ #include "TopicExchange.h" -#include -#include -#include -#include +#include using namespace qpid::broker; @@ -30,6 +27,7 @@ CppUnit::OStringStream& operator <<(CppUnit::OStringStream& out, const Tokens& v { out << '"' << *i << '"' << (i+1 == v.end() ? "]" : ", "); } + return out; } -- cgit v1.2.1