summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/shared_ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/shared_ptr.h')
-rw-r--r--cpp/src/qpid/shared_ptr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/shared_ptr.h b/cpp/src/qpid/shared_ptr.h
index eb5f3f906a..0c933ea6a6 100644
--- a/cpp/src/qpid/shared_ptr.h
+++ b/cpp/src/qpid/shared_ptr.h
@@ -42,6 +42,8 @@ shared_ptr<T> make_shared_ptr(T* ptr, D deleter) {
return shared_ptr<T>(ptr, deleter);
}
+inline void nullDeleter(void const *) {}
+
} // namespace qpid