diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-12 14:56:03 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-13 16:52:16 +0300 |
commit | edab35e216bc3839915129e54f98160428634283 (patch) | |
tree | 51c1ae471e39aca817038f16d33cc25be4998369 /bdep/types-parsers.hxx | |
parent | 54c937f78562fc6a5d2ea01c8747c62ccea980cb (diff) |
Add support for default options files
Diffstat (limited to 'bdep/types-parsers.hxx')
-rw-r--r-- | bdep/types-parsers.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bdep/types-parsers.hxx b/bdep/types-parsers.hxx index 5cd4f65..c6e1cc6 100644 --- a/bdep/types-parsers.hxx +++ b/bdep/types-parsers.hxx @@ -25,6 +25,9 @@ namespace bdep { static void parse (url&, bool&, scanner&); + + static void + merge (url& b, const url& a) {b = a;} }; template <> @@ -32,6 +35,9 @@ namespace bdep { static void parse (path&, bool&, scanner&); + + static void + merge (path& b, const path& a) {b = a;} }; template <> @@ -39,6 +45,9 @@ namespace bdep { static void parse (dir_path&, bool&, scanner&); + + static void + merge (dir_path& b, const dir_path& a) {b = a;} }; } } |