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/client/src/Queue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/client/src/Queue.cpp') diff --git a/cpp/client/src/Queue.cpp b/cpp/client/src/Queue.cpp index cb957dd993..5b2881f7ff 100644 --- a/cpp/client/src/Queue.cpp +++ b/cpp/client/src/Queue.cpp @@ -30,8 +30,8 @@ const std::string& qpid::client::Queue::getName() const{ return name; } -void qpid::client::Queue::setName(const std::string& name){ - this->name = name; +void qpid::client::Queue::setName(const std::string& _name){ + name = _name; } bool qpid::client::Queue::isAutoDelete() const{ -- cgit v1.2.1