aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-09-17 13:42:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-09-17 13:42:26 +0200
commit39f6d06c729fc1b1ffdeda67daa0ddc1d6baadb0 (patch)
tree7d65bbf7d35397b622d9ff384c9d08678b05bb7f
parent7d7543ca663cdcff91016f13b01dc4e557500b2e (diff)
Add missing (in C++11) third argument in string::assign() call
-rw-r--r--bdep/ci.cxx2
1 files changed, 1 insertions, 1 deletions
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