getOp() should return a non-const reference
This commit is contained in:
parent
064ebabac5
commit
1992d60fa3
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ public:
|
||||||
will be thrown
|
will be thrown
|
||||||
@return a reference of the operator corresponding to that id.
|
@return a reference of the operator corresponding to that id.
|
||||||
*/
|
*/
|
||||||
virtual const eoOp<EOT>& getOp( ID _id )
|
virtual eoOp<EOT>& getOp( ID _id )
|
||||||
{
|
{
|
||||||
return *operator[](_id);
|
return *operator[](_id);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue