Switch operator() to return a const reference

This commit is contained in:
Matthias Grob
2020-07-17 10:43:34 +02:00
committed by Julian Kent
parent 8a59b463f2
commit 0fd99c59f1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ public:
{
}
inline Type operator()(size_t i) const
inline const Type &operator()(size_t i) const
{
assert(i >= 0);
assert(i < M);