aboutsummaryrefslogtreecommitdiffstats
path: root/src/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp8
1 files changed, 6 insertions, 2 deletions
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