From 368b42c7b031cbc9c4689ed41576249b51c396f2 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sun, 10 Jan 2021 17:26:48 +0100 Subject: [PATCH] formatting improvements --- doc/README-core.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/README-core.md b/doc/README-core.md index c47ae0f2..6431b831 100644 --- a/doc/README-core.md +++ b/doc/README-core.md @@ -16,9 +16,8 @@ Flight Software Framework * A reference to an object can be get by calling the following function. T must be the specific Interface you want to call. A nullptr check of the returning Pointer must be done. This function is based on Run-time type information. -``` c++ - template T* ObjectManagerIF::get( object_id_t id ) - +```cpp +template T* ObjectManagerIF::get( object_id_t id ) ``` * A typical way to create all objects on startup is a handing a static produce function to the ObjectManager on creation. By calling objectManager->initialize() the produce function will be called and all SystemObjects will be initialized afterwards.