Author: shuston Date: Tue Jan 12 21:16:46 2010 New Revision: 898519 URL: http://svn.apache.org/viewvc?rev=898519&view=rev Log: Explicitly name qpid::framing::Buffer instead of framing::Buffer; resolves compile errors on Windows.
Modified: qpid/trunk/qpid/cpp/src/qpid/management/ManagementAgent.cpp Modified: qpid/trunk/qpid/cpp/src/qpid/management/ManagementAgent.cpp URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/management/ManagementAgent.cpp?rev=898519&r1=898518&r2=898519&view=diff ============================================================================== --- qpid/trunk/qpid/cpp/src/qpid/management/ManagementAgent.cpp (original) +++ qpid/trunk/qpid/cpp/src/qpid/management/ManagementAgent.cpp Tue Jan 12 21:16:46 2010 @@ -1289,13 +1289,13 @@ disallowed[std::make_pair(className, methodName)] = message; } -void ManagementAgent::SchemaClassKey::encode(framing::Buffer& buffer) const { +void ManagementAgent::SchemaClassKey::encode(qpid::framing::Buffer& buffer) const { buffer.checkAvailable(encodedSize()); buffer.putShortString(name); buffer.putBin128(hash); } -void ManagementAgent::SchemaClassKey::decode(framing::Buffer& buffer) { +void ManagementAgent::SchemaClassKey::decode(qpid::framing::Buffer& buffer) { buffer.checkAvailable(encodedSize()); buffer.getShortString(name); buffer.getBin128(hash); @@ -1305,14 +1305,14 @@ return 1 + name.size() + 16 /* bin128 */; } -void ManagementAgent::SchemaClass::encode(framing::Buffer& outBuf) const { +void ManagementAgent::SchemaClass::encode(qpid::framing::Buffer& outBuf) const { outBuf.checkAvailable(encodedSize()); outBuf.putOctet(kind); outBuf.putLong(pendingSequence); outBuf.putLongString(data); } -void ManagementAgent::SchemaClass::decode(framing::Buffer& inBuf) { +void ManagementAgent::SchemaClass::decode(qpid::framing::Buffer& inBuf) { inBuf.checkAvailable(encodedSize()); kind = inBuf.getOctet(); pendingSequence = inBuf.getLong(); @@ -1345,7 +1345,7 @@ } } -void ManagementAgent::importSchemas(framing::Buffer& inBuf) { +void ManagementAgent::importSchemas(qpid::framing::Buffer& inBuf) { while (inBuf.available()) { string package; SchemaClassKey key; --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:commits-subscr...@qpid.apache.org