summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/pdfiletests.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/pdfiletests.cpp
parent0fde30ad2f873e7f835aa224e83a97ae6d4a171e (diff)
downloadmongo-c1c1116c488351e0cdbd7626dcc8ce1f5dc828af.tar.gz
SERVER-15707 Fix leaks in C++ unit test framework
Diffstat (limited to 'src/mongo/dbtests/pdfiletests.cpp')
-rw-r--r--src/mongo/dbtests/pdfiletests.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/dbtests/pdfiletests.cpp b/src/mongo/dbtests/pdfiletests.cpp
index 9e8836cb45f..828530905c6 100644
--- a/src/mongo/dbtests/pdfiletests.cpp
+++ b/src/mongo/dbtests/pdfiletests.cpp
@@ -161,7 +161,9 @@ namespace PdfileTests {
add< Insert::UpdateDate2 >();
add< Insert::ValidId >();
}
- } myall;
+ };
+
+ SuiteInstance<All> myall;
} // namespace PdfileTests