getOp() should return a non-const reference

This commit is contained in:
mac 2000-04-09 10:16:28 +00:00
commit 1992d60fa3

View file

@ -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);
} }