From 25de60cd3647ce82c29a2a3bda7caca0e081a466 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Tue, 29 Oct 2019 19:44:56 -0400 Subject: [PATCH] Fixed more shadowing issues --- include/boost/fixed_string/fixed_string.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/fixed_string/fixed_string.hpp b/include/boost/fixed_string/fixed_string.hpp index b037184..ed3fc4f 100644 --- a/include/boost/fixed_string/fixed_string.hpp +++ b/include/boost/fixed_string/fixed_string.hpp @@ -1283,12 +1283,12 @@ public: swap( fixed_string& s); - template + template fixed_string& replace( size_type pos1, size_type n1, - const fixed_string& str) + const fixed_string& str) { return replace(pos1, n1, str.data(), str.size()); } @@ -1605,7 +1605,7 @@ public: template size_type find_first_of( - const fixed_string& str, + const fixed_string& str, size_type pos = 0) const noexcept { return find_first_of(str.data(), pos, str.size()); @@ -1788,10 +1788,10 @@ public: return find_last_not_of(sv.data(), pos, sv.size()); } - template + template size_type find_last_not_of( - const fixed_string& str, + const fixed_string& str, size_type pos = npos) const noexcept { return find_last_not_of(str.data(), pos, str.size());