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 2007/08/20 15:40:10 UTC

svn commit: r567701 - /incubator/qpid/trunk/qpid/cpp/src/qpid/framing/Blob.h

Author: aconway
Date: Mon Aug 20 06:40:10 2007
New Revision: 567701

URL: http://svn.apache.org/viewvc?rev=567701&view=rev
Log:
Undo over-hasty commit

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/framing/Blob.h

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/framing/Blob.h
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/framing/Blob.h?rev=567701&r1=567700&r2=567701&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/framing/Blob.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/framing/Blob.h Mon Aug 20 06:40:10 2007
@@ -143,7 +143,7 @@
     Blob& operator=(const T& x) { clear(); construct(in_place<T>(x)); return *this; }
     
     /** Get pointer to blob contents. Caller must know how to cast it. */
-    void* get() { return empty() ? 0 : store.address(); }
+    void* get() { return store.address(); }
 
     /** Get const pointer to blob contents */
     const void* get() const { return empty() ? 0 : store.address(); }