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/inc/Message.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/client/inc/Message.h') diff --git a/cpp/client/inc/Message.h b/cpp/client/inc/Message.h index f8a5aef565..fc3ec34bcf 100644 --- a/cpp/client/inc/Message.h +++ b/cpp/client/inc/Message.h @@ -38,10 +38,10 @@ namespace client { ~Message(); inline std::string getData(){ return data; } - inline void setData(const std::string& data){ this->data = data; } + inline void setData(const std::string& _data){ data = _data; } inline bool isRedelivered(){ return redelivered; } - inline void setRedelivered(bool redelivered){ this->redelivered = redelivered; } + inline void setRedelivered(bool _redelivered){ redelivered = _redelivered; } inline u_int64_t getDeliveryTag(){ return deliveryTag; } -- cgit v1.2.1