diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-12-10 02:41:23 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-12-10 02:41:23 +0100 |
commit | a8f78252f05327d37aec3b853109b6d1359af452 (patch) | |
tree | 1eb136057bc59c6cf19ac52d2830c5a186149ce8 /src/core/CSS.hpp | |
parent | d84efdc312a9c5d0b6757c826810809a8e78f1e2 (diff) | |
parent | 325d78169620094178513303d65c71d933182ae4 (diff) |
Merge branch 'master' of somweyr.de:ousia
Diffstat (limited to 'src/core/CSS.hpp')
-rw-r--r-- | src/core/CSS.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/CSS.hpp b/src/core/CSS.hpp index aa701b5..1510f3a 100644 --- a/src/core/CSS.hpp +++ b/src/core/CSS.hpp @@ -70,7 +70,7 @@ struct Specificity { */ class RuleSet : public Managed { private: - std::map<std::string, variant::Variant> rules; + std::map<std::string, Variant> rules; public: /** @@ -78,9 +78,9 @@ public: */ RuleSet(Manager &mgr) : Managed(mgr), rules() {} - std::map<std::string, variant::Variant> &getRules() { return rules; } + std::map<std::string, Variant> &getRules() { return rules; } - const std::map<std::string, variant::Variant> &getRules() const + const std::map<std::string, Variant> &getRules() const { return rules; } @@ -127,11 +127,11 @@ public: class PseudoSelector { private: const std::string name; - const std::vector<std::string> args; + const Variant::arrayType args; const bool generative; public: - PseudoSelector(std::string name, std::vector<std::string> args, + PseudoSelector(std::string name, Variant::arrayType args, bool generative) : name(std::move(name)), args(std::move(args)), generative(generative) { @@ -144,7 +144,7 @@ public: const std::string &getName() const { return name; } - const std::vector<std::string> &getArgs() const { return args; } + const Variant::arrayType &getArgs() const { return args; } const bool &isGenerative() const { return generative; } }; |