diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-12 21:34:50 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-12 21:34:50 +0100 |
commit | 8897847aa556384d0a0d7bbaccd9241e0f4470d1 (patch) | |
tree | e4e92060b00b36b2fe187188ee4bec1f71776258 /src/css.hh | |
parent | c4641079e8dada86a5f4846ef8027f88c11c7294 (diff) |
remove CssRule reference counting
Diffstat (limited to 'src/css.hh')
-rw-r--r-- | src/css.hh | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -255,7 +255,6 @@ class CssSelector { */ class CssRule { private: - int refCount; CssPropertyList *props; public: @@ -265,8 +264,6 @@ class CssRule { ~CssRule (); void apply (CssPropertyList *props, Doctree *docTree); - inline void ref () { refCount++; } - inline void unref () { if(--refCount == 0) delete this; } void print (); }; |