Skip to content
Snippets Groups Projects
Commit 31ebc889 authored by Timo Koch's avatar Timo Koch Committed by Ned Coltman
Browse files

[geometryentityset] Return reference since this is possible here

parent bbac3043
No related branches found
No related tags found
1 merge request!2708Add new class for calculating wall distance
......@@ -226,7 +226,7 @@ public:
/*!
* \brief get an entity from an index
*/
Entity entity(std::size_t index) const
const Entity& entity(std::size_t index) const
{ assert(index < entities_.size()); return entities_[index]; }
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment