summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/Uuid.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/framing/Uuid.h')
-rw-r--r--cpp/src/qpid/framing/Uuid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/framing/Uuid.h b/cpp/src/qpid/framing/Uuid.h
index b595a2ff42..33be497c64 100644
--- a/cpp/src/qpid/framing/Uuid.h
+++ b/cpp/src/qpid/framing/Uuid.h
@@ -44,10 +44,10 @@ struct Uuid : public boost::array<uint8_t, 16> {
Uuid(bool unique=false) { if (unique) generate(); else clear(); }
/** Copy from 16 bytes of data. */
- Uuid(uint8_t* data) { assign(data); }
+ Uuid(const uint8_t* data) { assign(data); }
/** Copy from 16 bytes of data. */
- void assign(uint8_t* data) {
+ void assign(const uint8_t* data) {
uuid_copy(c_array(), data);
}