From 6cc9fa34792b640df3283f4aa4021237f2ee4ae9 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 20 Aug 2007 13:40:10 +0000 Subject: Undo over-hasty commit git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@567701 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/Blob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/framing/Blob.h b/cpp/src/qpid/framing/Blob.h index 7c17611dc8..ea44dc104e 100644 --- a/cpp/src/qpid/framing/Blob.h +++ b/cpp/src/qpid/framing/Blob.h @@ -143,7 +143,7 @@ class Blob Blob& operator=(const T& x) { clear(); construct(in_place(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(); } -- cgit v1.2.1