X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fbasic.h;h=c54cc3816f49b67ab184b07ac9202d7948ea619d;hb=308cc279067413f46f2ceda60431ba61089d8368;hp=4e9b5171e3bf397e57e2b871483d8f28ac409d6b;hpb=97af29c12bb3074cfb4e674d71000f0712c51ba2;p=ginac.git diff --git a/ginac/basic.h b/ginac/basic.h index 4e9b5171..c54cc381 100644 --- a/ginac/basic.h +++ b/ginac/basic.h @@ -163,9 +163,9 @@ public: const basic & hold(void) const; unsigned gethash(void) const {if (flags & status_flags::hash_calculated) return hashvalue; else return calchash();} unsigned tinfo(void) const {return tinfo_key;} -protected: const basic & setflag(unsigned f) const {flags |= f; return *this;} const basic & clearflag(unsigned f) const {flags &= ~f; return *this;} +protected: void ensure_if_modifiable(void) const; // member variables