diff --git a/eo/src/eoInvalidateOps.h b/eo/src/eoInvalidateOps.h index 711456e6..f3a3b4cb 100644 --- a/eo/src/eoInvalidateOps.h +++ b/eo/src/eoInvalidateOps.h @@ -48,9 +48,12 @@ class eoInvalidateMonOp : public eoMonOp bool operator()(EOT& _eo) { if (op(_eo)) + { _eo.invalidate(); + return true; + } - return false; // we did change the thing, but it is already invalidated + return false; } private: @@ -76,9 +79,12 @@ class eoInvalidateBinOp : public eoBinOp bool operator()(EOT& _eo, const EOT& _eo2) { if (op(_eo, _eo2)) + { _eo.invalidate(); + return true; + } - return false; // we did change the thing, but it is already invalidated + return false; } private: @@ -107,8 +113,9 @@ class eoInvalidateQuadOp : public eoQuadOp { _eo1.invalidate(); _eo2.invalidate(); + return true; } - return false; // we did change the thing, but it is already invalidated + return false; } private: