File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ class StatusVector : public Base
221221 return *this ;
222222 }
223223
224- StatusVector& operator <<(const std::string_view& text) noexcept
224+ StatusVector& operator <<(std::string_view text) noexcept
225225 {
226226 implementation->shiftLeft (string (text.data (), static_cast <string::size_type>(text.length ())));
227227 return *this ;
Original file line number Diff line number Diff line change @@ -739,7 +739,7 @@ namespace Firebird
739739 {
740740 return assign (first, last - first);
741741 }
742- StringType& assign (const std::string_view& s)
742+ StringType& assign (std::string_view s)
743743 {
744744 return assign (s.data (), static_cast <size_type>(s.length ()));
745745 }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ static constexpr char lbl[] = "0123456789";
1414#define validate (A, B ) BOOST_TEST(std::string_view(A.c_str(), A.length()) == std::string_view(B))
1515#define check (A, B ) BOOST_TEST(A == B)
1616
17- static constexpr string::size_type length (const std::string_view& str) noexcept
17+ static constexpr string::size_type length (std::string_view str) noexcept
1818{
1919 return static_cast <string::size_type>(str.length ());
2020}
You can’t perform that action at this time.
0 commit comments