aboutsummaryrefslogtreecommitdiff
path: root/bdep/types-parsers.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-12 14:56:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-13 16:52:16 +0300
commitedab35e216bc3839915129e54f98160428634283 (patch)
tree51c1ae471e39aca817038f16d33cc25be4998369 /bdep/types-parsers.hxx
parent54c937f78562fc6a5d2ea01c8747c62ccea980cb (diff)
Add support for default options files
Diffstat (limited to 'bdep/types-parsers.hxx')
-rw-r--r--bdep/types-parsers.hxx9
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;}
};
}
}