diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-09-13 21:11:24 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-09-13 21:11:24 +0300 |
commit | fbfd4eed353baf6577f7a09b8a7c15e89d33bda7 (patch) | |
tree | 4f3dcfc6a6b11db9102676fe1a853f88681994d3 | |
parent | 377cec303eea81fb18b294eb47a54587643dbd01 (diff) |
Regenerate options parsing code
-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 ()); |