From 5d500ea305db7185314cc2b500257529e9e9696a Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Fri, 5 Dec 2014 17:09:34 +0100 Subject: Successfully (hopefully) implemented CSS Parsing and the respective test. --- src/core/CSS.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core/CSS.cpp') diff --git a/src/core/CSS.cpp b/src/core/CSS.cpp index c3900e8..d131fec 100644 --- a/src/core/CSS.cpp +++ b/src/core/CSS.cpp @@ -20,6 +20,12 @@ namespace ousia { +void RuleSet::merge(Rooted other){ + for(auto& o : other->rules){ + rules[o.first] = o.second; + } +} + /* * different versions of "getChildren". */ -- cgit v1.2.3