aboutsummaryrefslogtreecommitdiff
path: root/src/css.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-21 19:34:25 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-21 19:34:25 +0100
commit9749792de478f44b82f3d4a5f47a740dd82e6421 (patch)
tree44ce70277bcd85849a7392466f7e43085e707509 /src/css.hh
parent1fdebea2331ddd694af844adf6bf3d4ad6789928 (diff)
move assert from CssSelector::match() to CssRule constructor
Diffstat (limited to 'src/css.hh')
-rw-r--r--src/css.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.hh b/src/css.hh
index da8d55ac..6b199833 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -238,7 +238,7 @@ class CssSelector {
inline CssSimpleSelector *top () {
return &selectorList->getRef (selectorList->size () - 1)->selector;
};
-
+ inline int size () { return selectorList->size (); };
bool match (Doctree *dt);
void print ();
inline void ref () { refCount++; }