You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2011/02/09 22:07:51 UTC
svn commit: r1069102 - /qpid/trunk/qpid/cpp/src/qpid/RefCountedBuffer.h
Author: aconway
Date: Wed Feb 9 21:07:50 2011
New Revision: 1069102
URL: http://svn.apache.org/viewvc?rev=1069102&view=rev
Log:
Remove out-dated comment.
Modified:
qpid/trunk/qpid/cpp/src/qpid/RefCountedBuffer.h
Modified: qpid/trunk/qpid/cpp/src/qpid/RefCountedBuffer.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/RefCountedBuffer.h?rev=1069102&r1=1069101&r2=1069102&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/RefCountedBuffer.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/RefCountedBuffer.h Wed Feb 9 21:07:50 2011
@@ -27,7 +27,7 @@
#include <boost/intrusive_ptr.hpp>
namespace qpid {
-// FIXME aconway 2008-09-06: easy to add alignment
+
/**
* Reference-counted byte buffer.
* No alignment guarantees.
@@ -51,7 +51,7 @@ public:
pointer(const pointer&);
~pointer();
pointer& operator=(const pointer&);
-
+
char* get() { return cp(); }
operator char*() { return cp(); }
char& operator*() { return *cp(); }
@@ -62,7 +62,7 @@ public:
const char& operator*() const { return *cp(); }
const char& operator[](size_t i) const { return cp()[i]; }
};
-
+
/** Create a reference counted buffer of size n */
static pointer create(size_t n);
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org