summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/sorted_data_interface_test_harness.h
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2018-04-30 18:34:19 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2018-04-30 18:34:19 -0400
commit00ca22fc7097455ab1301931015a86d84e038744 (patch)
treeb3886adb9020c09eab0e77d8ceb08d31cf8ebc7c /src/mongo/db/storage/sorted_data_interface_test_harness.h
parentc68c5f493b042350f61dff7aaa32aa2e3e6d651e (diff)
downloadmongo-00ca22fc7097455ab1301931015a86d84e038744.tar.gz
SERVER-32645 Create a shim helper framework.
The `MONGO_DECLARE_SHIM`, `MONGO_DEFINE_SHIM`, and `MONGO_REGISTER_SHIM` macros can be used to create specialized types which are customization and auto-registration points for late-binding functions. In some sense they work like weak-symbols; however, they also are useful for tracking dependencies upon shimmed-out implementations.
Diffstat (limited to 'src/mongo/db/storage/sorted_data_interface_test_harness.h')
-rw-r--r--src/mongo/db/storage/sorted_data_interface_test_harness.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/storage/sorted_data_interface_test_harness.h b/src/mongo/db/storage/sorted_data_interface_test_harness.h
index e6f9443fd23..5966755397e 100644
--- a/src/mongo/db/storage/sorted_data_interface_test_harness.h
+++ b/src/mongo/db/storage/sorted_data_interface_test_harness.h
@@ -1,5 +1,3 @@
-// sorted_data_interface_test_harness.h
-
/**
* Copyright (C) 2014 MongoDB Inc.
*
@@ -136,4 +134,4 @@ inline void removeFromIndex(unowned_ptr<HarnessHelper> harness,
inline std::unique_ptr<SortedDataInterfaceHarnessHelper> newSortedDataInterfaceHarnessHelper() {
return dynamic_ptr_cast<SortedDataInterfaceHarnessHelper>(newHarnessHelper());
}
-}
+} // namespace mongo