diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-20 17:22:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-20 17:22:11 +0200 |
commit | d4fcd80e1131ca1b16bef5b4c0d2d7a1ebffd19b (patch) | |
tree | 9827191f8b1643a09abe4f6dbb9cd7bc184018b4 | |
parent | fcb50d36651e660db33f3bfaca564d4789273145 (diff) |
Fix option parsing bug
-rw-r--r-- | bdep/types-parsers.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bdep/types-parsers.cxx b/bdep/types-parsers.cxx index 5d0fa34..42a1c73 100644 --- a/bdep/types-parsers.cxx +++ b/bdep/types-parsers.cxx @@ -14,12 +14,12 @@ namespace bdep static void parse_path (T& x, scanner& s) { - const char* o (s.next ()); + string o (s.next ()); if (!s.more ()) throw missing_value (o); - const char* v (s.next ()); + string v (s.next ()); try { |