Commit 4196b597 authored by Janis Born's avatar Janis Born

fix documentation for object ranges

parent f36df2d5
......@@ -650,7 +650,7 @@ private:
*
* \note Usage:
* \code
* for (auto& object : PluginFunctions::objectReferences(..., ...) {
* for (auto& object : PluginFunctions::objectReferences(..., ...)) {
* ...
* }
* \endcode
......@@ -667,7 +667,7 @@ ObjectReferenceRange objectReferences(IteratorRestriction _restriction = ALL_OBJ
* \note Iterated elements are *pointers* to objects, not object references.
* Hence, the loop header should be declared as
* \code
* for (auto* object : PluginFunctions::objects(..., ...) {
* for (auto* object : PluginFunctions::objects(..., ...)) {
* ...
* }
* \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