From f9913fa28a27f23fde2d4956c62cbb2fb2bc2ee8 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 21 Nov 2013 22:16:57 +0100 Subject: Boost/C++11 shared pointers. --- src/base.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/base.cpp') diff --git a/src/base.cpp b/src/base.cpp index d5f3e787..f7985376 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -98,9 +98,13 @@ const string CRLF = "\r\n"; const string SUPPORTED_MIME_VERSION = "1.0"; -/** Null reference. +#ifndef VMIME_BUILDING_DOC + +/** Null shared pointer. */ -const null_ref null = null_ref(); +nullPtrType null; + +#endif // VMIME_BUILDING_DOC // Line length limits -- cgit v1.2.3