diff options
| author | Alan Conway <aconway@apache.org> | 2006-10-11 15:50:15 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2006-10-11 15:50:15 +0000 |
| commit | ac3335857e3b30b99240c2a7638c8aed31d3e78d (patch) | |
| tree | 144465ed3ea20dab341a972377de9c0451b71113 /qpid/cpp/client/src/Queue.cpp | |
| parent | a3d3d2ccc0ccb5d4b857be93c4774ac1bddd0aeb (diff) | |
| download | qpid-python-ac3335857e3b30b99240c2a7638c8aed31d3e78d.tar.gz | |
Turned up gcc warnings, fixed warnings in code, enabled -Werror.
Note: #include "qpid_test_plugin.h" instead of <cppunit/TestPlugin.h>
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
Diffstat (limited to 'qpid/cpp/client/src/Queue.cpp')
| -rw-r--r-- | qpid/cpp/client/src/Queue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/client/src/Queue.cpp b/qpid/cpp/client/src/Queue.cpp index cb957dd993..5b2881f7ff 100644 --- a/qpid/cpp/client/src/Queue.cpp +++ b/qpid/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{ |
