summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_distinct.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2014-10-23 15:57:12 -0400
committerAndrew Morrow <acm@mongodb.com>2014-10-27 11:07:37 -0400
commitc1c1116c488351e0cdbd7626dcc8ce1f5dc828af (patch)
tree7ed0e6596b9ea93715f23dd112c251a03bb40c28 /src/mongo/dbtests/query_stage_distinct.cpp
parent0fde30ad2f873e7f835aa224e83a97ae6d4a171e (diff)
downloadmongo-c1c1116c488351e0cdbd7626dcc8ce1f5dc828af.tar.gz
SERVER-15707 Fix leaks in C++ unit test framework
Diffstat (limited to 'src/mongo/dbtests/query_stage_distinct.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_distinct.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/dbtests/query_stage_distinct.cpp b/src/mongo/dbtests/query_stage_distinct.cpp
index 31f543e4170..2d66731f15b 100644
--- a/src/mongo/dbtests/query_stage_distinct.cpp
+++ b/src/mongo/dbtests/query_stage_distinct.cpp
@@ -235,6 +235,8 @@ namespace QueryStageDistinct {
add<QueryStageDistinctBasic>();
add<QueryStageDistinctMultiKey>();
}
- } queryStageDistinctAll;
+ };
+
+ SuiteInstance<All> queryStageDistinctAll;
} // namespace QueryStageDistinct