From bfe568f48a4f57f490b2b84de945cdbdf94f091c Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Mon, 28 Jul 2014 09:40:31 +0200 Subject: [PATCH] Add virtual destructor for TRI_doc_mptr_t. --- arangod/VocBase/document-collection.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arangod/VocBase/document-collection.h b/arangod/VocBase/document-collection.h index 1360a04186..2ac674fbe4 100644 --- a/arangod/VocBase/document-collection.h +++ b/arangod/VocBase/document-collection.h @@ -128,6 +128,9 @@ struct TRI_doc_mptr_t { _dataptr(nullptr) { } + virtual ~TRI_doc_mptr_t () { + } + void clear () { _rid = 0; _fid = 0;