summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2017-12-21 15:16:36 -0500
committerSpencer T Brody <spencer@mongodb.com>2017-12-22 13:51:10 -0500
commit44447251fb335c114847a42154da0106cf8b4033 (patch)
treeb183263e9df9c0cf71f9f0f6f5d3d1b582e892b6 /src/mongo/db/op_observer.h
parent890051d8166e668442aff70cfcde3cb71ae6115f (diff)
downloadmongo-44447251fb335c114847a42154da0106cf8b4033.tar.gz
SERVER-29602 Add invariant that delete documentKey is non-empty, remove aboutToDeleteCalled bool
Diffstat (limited to 'src/mongo/db/op_observer.h')
-rw-r--r--src/mongo/db/op_observer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/op_observer.h b/src/mongo/db/op_observer.h
index 080e31d5782..6ce3ea26fd5 100644
--- a/src/mongo/db/op_observer.h
+++ b/src/mongo/db/op_observer.h
@@ -85,6 +85,7 @@ struct TTLCollModInfo {
class OpObserver {
public:
+ virtual ~OpObserver() = default;
virtual void onCreateIndex(OperationContext* opCtx,
const NamespaceString& nss,
OptionalCollectionUUID uuid,