From 2660791c236676f28cdbf81da5c0d52110b36d17 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 19 Dec 2008 20:22:03 +0000 Subject: 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 --- cpp/src/qpid/framing/Uuid.cpp | 2 +- cpp/src/qpid/framing/Uuid.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/framing') 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 { uint32_t encodedSize() const { return size(); } /** String value in format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb. */ - std::string str(); + std::string str() const; template void serialize(S& s) { s.raw(begin(), size()); -- cgit v1.2.1