making the second parameter of the oprator() for binaria operators to be NON const

This commit is contained in:
victor 2000-02-21 18:03:31 +00:00
commit 4777d09128

View file

@ -79,7 +79,7 @@ public:
* @param _os A ostream. * @param _os A ostream.
*/ */
virtual void printOn(ostream& _os) const { virtual void printOn(ostream& _os) const {
_os << className().c_str(); _os << className();
// _os << arity; // _os << arity;
}; };
@ -115,7 +115,7 @@ public:
/** applies operator, to the object. Modifies only the first operand. /** applies operator, to the object. Modifies only the first operand.
*/ */
virtual void operator()( EOType& _eo1, const EOType& _eo2 ) const = 0; virtual void operator()( EOType& _eo1, EOType& _eo2 ) const = 0;
/** @name Methods from eoObject /** @name Methods from eoObject
readFrom and printOn are directly inherited from eoObject readFrom and printOn are directly inherited from eoObject
@ -233,4 +233,3 @@ public:
#endif #endif