From 39f6d06c729fc1b1ffdeda67daa0ddc1d6baadb0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Sep 2020 13:42:26 +0200 Subject: Add missing (in C++11) third argument in string::assign() call --- bdep/ci.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bdep/ci.cxx') diff --git a/bdep/ci.cxx b/bdep/ci.cxx index b7fe2cf..081529a 100644 --- a/bdep/ci.cxx +++ b/bdep/ci.cxx @@ -99,7 +99,7 @@ namespace bdep fail << "remote '" << *rem << "' is not a prefix for upstream " << "branch '" << s.upstream << "'"; - branch.assign (s.upstream, n + 1); + branch.assign (s.upstream, n + 1, string::npos); } // Note: not forcible (for now). While the use case is valid, the -- cgit v1.1