summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-12-19 20:22:03 +0000
committerTed Ross <tross@apache.org>2008-12-19 20:22:03 +0000
commit2660791c236676f28cdbf81da5c0d52110b36d17 (patch)
tree5a4166a17da10fcd64e05ecddec4c6f14dc0385f /cpp/src/qpid/framing
parentd98c3cdf286d3ee16904d66337a20d94a8e95dc3 (diff)
downloadqpid-python-2660791c236676f28cdbf81da5c0d52110b36d17.tar.gz
QPID-1412 - c++ implementation of the QMF client API
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728132 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing')
-rw-r--r--cpp/src/qpid/framing/Uuid.cpp2
-rw-r--r--cpp/src/qpid/framing/Uuid.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/framing/Uuid.cpp b/cpp/src/qpid/framing/Uuid.cpp
index e8d8d517dd..fbbaac1cf5 100644
--- a/cpp/src/qpid/framing/Uuid.cpp
+++ b/cpp/src/qpid/framing/Uuid.cpp
@@ -52,7 +52,7 @@ istream& operator>>(istream& in, Uuid& uuid) {
return in;
}
-std::string Uuid::str() {
+std::string Uuid::str() const {
std::ostringstream os;
os << *this;
return os.str();
diff --git a/cpp/src/qpid/framing/Uuid.h b/cpp/src/qpid/framing/Uuid.h
index 4e5de9ce41..2fcbb5a261 100644
--- a/cpp/src/qpid/framing/Uuid.h
+++ b/cpp/src/qpid/framing/Uuid.h
@@ -68,7 +68,7 @@ struct Uuid : public boost::array<uint8_t, 16> {
uint32_t encodedSize() const { return size(); }
/** String value in format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb. */
- std::string str();
+ std::string str() const;
template <class S> void serialize(S& s) {
s.raw(begin(), size());