Commit 4ff1c04b authored by Janis Born's avatar Janis Born

fix documentation for object ranges

parent f602537b
...@@ -650,7 +650,7 @@ private: ...@@ -650,7 +650,7 @@ private:
* *
* \note Usage: * \note Usage:
* \code * \code
* for (auto& object : PluginFunctions::objectReferences(..., ...) { * for (auto& object : PluginFunctions::objectReferences(..., ...)) {
* ... * ...
* } * }
* \endcode * \endcode
...@@ -667,7 +667,7 @@ ObjectReferenceRange objectReferences(IteratorRestriction _restriction = ALL_OBJ ...@@ -667,7 +667,7 @@ ObjectReferenceRange objectReferences(IteratorRestriction _restriction = ALL_OBJ
* \note Iterated elements are *pointers* to objects, not object references. * \note Iterated elements are *pointers* to objects, not object references.
* Hence, the loop header should be declared as * Hence, the loop header should be declared as
* \code * \code
* for (auto* object : PluginFunctions::objects(..., ...) { * for (auto* object : PluginFunctions::objects(..., ...)) {
* ... * ...
* } * }
* \endcode * \endcode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment