From c4b69fafcebb98d7145b1852dfe7b7c5e0bf773d Mon Sep 17 00:00:00 2001 From: Andre Nguyen Date: Tue, 10 Sep 2024 12:03:34 -0400 Subject: [PATCH] docs[factories.md]: add missing code block closing fence --- docs/Factories.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Factories.md b/docs/Factories.md index 12b7cfb..da7f155 100644 --- a/docs/Factories.md +++ b/docs/Factories.md @@ -63,6 +63,8 @@ struct Foo { // Foo is already instantiable as a base class, so it is repeated twice as an argument inline static const auto registration_ = config::Registration("Foo"); } +``` + ## Creating objects with individual configs We further provide a version of the factory that allows the declaration of an additional config struct for each derived type. The config is expected to be a `config_utilities` config, the first argument to the constructor, and will be created from the data provided to create the object: