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 | 2bcadbb42a6fb2f096c1fc0a4b957d64a5024ef6 (patch) | |
tree | 886eb0659c6f28c2f1d26de7d5fd29fff0072dc5 /cpp/common/framing/inc/BasicHeaderProperties.h | |
parent | 9fc2b6c5f0848d65f1bf20e62279c055d12a1d40 (diff) | |
download | qpid-python-2bcadbb42a6fb2f096c1fc0a4b957d64a5024ef6.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/qpid@462834 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/common/framing/inc/BasicHeaderProperties.h')
-rw-r--r-- | cpp/common/framing/inc/BasicHeaderProperties.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/cpp/common/framing/inc/BasicHeaderProperties.h b/cpp/common/framing/inc/BasicHeaderProperties.h index 8688a37bf9..c32612221b 100644 --- a/cpp/common/framing/inc/BasicHeaderProperties.h +++ b/cpp/common/framing/inc/BasicHeaderProperties.h @@ -70,20 +70,20 @@ namespace framing { inline string& getAppId(){ return appId; } inline string& getClusterId(){ return clusterId; } - void inline setContentType(string& type){ contentType = type; } + void inline setContentType(string& _type){ contentType = _type; } void inline setContentEncoding(string& encoding){ contentEncoding = encoding; } - void inline setHeaders(FieldTable& headers){ this->headers = headers; } + void inline setHeaders(FieldTable& _headers){ headers = _headers; } void inline setDeliveryMode(u_int8_t mode){ deliveryMode = mode; } - void inline setPriority(u_int8_t priority){ this->priority = priority; } - void inline setCorrelationId(string& correlationId){ this->correlationId = correlationId; } - void inline setReplyTo(string& replyTo){ this->replyTo = replyTo;} - void inline setExpiration(string& expiration){ this->expiration = expiration; } - void inline setMessageId(string& messageId){ this->messageId = messageId; } - void inline setTimestamp(u_int64_t timestamp){ this->timestamp = timestamp; } - void inline setType(string& type){ this->type = type; } - void inline setUserId(string& userId){ this->userId = userId; } - void inline setAppId(string& appId){this->appId = appId; } - void inline setClusterId(string& clusterId){ this->clusterId = clusterId; } + void inline setPriority(u_int8_t _priority){ priority = _priority; } + void inline setCorrelationId(string& _correlationId){ correlationId = _correlationId; } + void inline setReplyTo(string& _replyTo){ replyTo = _replyTo;} + void inline setExpiration(string& _expiration){ expiration = _expiration; } + void inline setMessageId(string& _messageId){ messageId = _messageId; } + void inline setTimestamp(u_int64_t _timestamp){ timestamp = _timestamp; } + void inline setType(string& _type){ type = _type; } + void inline setUserId(string& _userId){ userId = _userId; } + void inline setAppId(string& _appId){appId = _appId; } + void inline setClusterId(string& _clusterId){ clusterId = _clusterId; } }; } |