diff options
-rw-r--r-- | libbutl/builtin-options.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libbutl/builtin-options.cxx b/libbutl/builtin-options.cxx index 2848eea..536f97d 100644 --- a/libbutl/builtin-options.cxx +++ b/libbutl/builtin-options.cxx @@ -273,11 +273,11 @@ namespace butl } }; - template <typename X> - struct parser<std::set<X> > + template <typename X, typename C> + struct parser<std::set<X, C> > { static void - parse (std::set<X>& c, bool& xs, scanner& s) + parse (std::set<X, C>& c, bool& xs, scanner& s) { X x; bool dummy; @@ -287,11 +287,11 @@ namespace butl } }; - template <typename K, typename V> - struct parser<std::map<K, V> > + template <typename K, typename V, typename C> + struct parser<std::map<K, V, C> > { static void - parse (std::map<K, V>& m, bool& xs, scanner& s) + parse (std::map<K, V, C>& m, bool& xs, scanner& s) { const char* o (s.next ()); |