diff options
author | clang-format-7.0.1 <adam.martin@10gen.com> | 2019-07-26 18:20:35 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-07-27 11:02:23 -0400 |
commit | 134a4083953270e8a11430395357fb70a29047ad (patch) | |
tree | dd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /src/mongo/base/global_initializer_registerer.h | |
parent | 1e46b5049003f427047e723ea5fab15b5a9253ca (diff) | |
download | mongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz |
SERVER-41772 Apply clang-format 7.0.1 to the codebase
Diffstat (limited to 'src/mongo/base/global_initializer_registerer.h')
-rw-r--r-- | src/mongo/base/global_initializer_registerer.h | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/src/mongo/base/global_initializer_registerer.h b/src/mongo/base/global_initializer_registerer.h index 14345a3f98a..08b0ba625bc 100644 --- a/src/mongo/base/global_initializer_registerer.h +++ b/src/mongo/base/global_initializer_registerer.h @@ -51,42 +51,42 @@ extern const std::string& defaultInitializerName(); class GlobalInitializerRegisterer { public: /** - * Constructor parameters: - * - * - std::string name - * - * - InitializerFunction initFn - * Must be nonnull. - * Example expression: - * - * [](InitializerContext* context) { - * // initialization code - * return Status::OK(); - * } - * - * - DeinitializerFunction deinitFn - * A deinitialization that will execute in reverse order from initialization and - * support re-initialization. If not specified, defaults to the `nullptr` function. - * Example expression: - * - * [](DeinitializerContext* context) { - * // deinitialization code - * return Status::OK(); - * } - * - * - std::vector<std::string> prerequisites - * If not specified, defaults to {"default"}. - * - * - std::vector<std::string> dependents - * If not specified, defaults to {} (no dependents). - * - * - * At run time, the full set of prerequisites for `name` will be computed as the union of the - * `prerequisites` (which can be defaulted) and all other mongo initializers that list `name` in - * their `dependents`. - * - * A non-null `deinitFn` will tag the initializer as supporting re-initialization. - */ + * Constructor parameters: + * + * - std::string name + * + * - InitializerFunction initFn + * Must be nonnull. + * Example expression: + * + * [](InitializerContext* context) { + * // initialization code + * return Status::OK(); + * } + * + * - DeinitializerFunction deinitFn + * A deinitialization that will execute in reverse order from initialization and + * support re-initialization. If not specified, defaults to the `nullptr` function. + * Example expression: + * + * [](DeinitializerContext* context) { + * // deinitialization code + * return Status::OK(); + * } + * + * - std::vector<std::string> prerequisites + * If not specified, defaults to {"default"}. + * + * - std::vector<std::string> dependents + * If not specified, defaults to {} (no dependents). + * + * + * At run time, the full set of prerequisites for `name` will be computed as the union of the + * `prerequisites` (which can be defaulted) and all other mongo initializers that list `name` in + * their `dependents`. + * + * A non-null `deinitFn` will tag the initializer as supporting re-initialization. + */ GlobalInitializerRegisterer(std::string name, InitializerFunction initFn, DeinitializerFunction deinitFn = nullptr, |