From d4fcd80e1131ca1b16bef5b4c0d2d7a1ebffd19b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 20 Mar 2018 17:22:11 +0200 Subject: Fix option parsing bug --- bdep/types-parsers.cxx | 4 ++-- 1 file 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 { -- cgit v1.1