From d6858f2d1612027d79acf8ea231f7b4c5859efa1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 Oct 2018 17:42:38 +0200 Subject: Work around compiler issues in qualified_option class template --- bpkg/types-parsers.txx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bpkg/types-parsers.txx') diff --git a/bpkg/types-parsers.txx b/bpkg/types-parsers.txx index 7a40b0e..a747417 100644 --- a/bpkg/types-parsers.txx +++ b/bpkg/types-parsers.txx @@ -6,7 +6,7 @@ namespace bpkg { namespace cli { - template + template void parser>:: parse (qualified_option& x, bool& xs, scanner& s) { @@ -25,7 +25,7 @@ namespace bpkg if (n != string::npos) { - const char** q (Q); + const char* const* q (Q); for (; *q != nullptr; ++q) { if (v.compare (0, n, *q) == 0) @@ -58,7 +58,7 @@ namespace bpkg // if (qv.empty ()) { - for (const char** q (Q); *q != nullptr; ++q) + for (const char* const* q (Q); *q != nullptr; ++q) { argv_scanner s (0, ac, av); parser::parse (x[*q], dummy, s); -- cgit v1.1