diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/strlist.cpp')
-rw-r--r-- | sources/shiboken6/tests/libsample/strlist.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sources/shiboken6/tests/libsample/strlist.cpp b/sources/shiboken6/tests/libsample/strlist.cpp index 845b83a0d..5840a0516 100644 --- a/sources/shiboken6/tests/libsample/strlist.cpp +++ b/sources/shiboken6/tests/libsample/strlist.cpp @@ -5,15 +5,13 @@ #include <algorithm> -bool -StrList::operator==(const std::list<Str>& other) const +bool StrList::operator==(const std::list<Str> &other) const { return size() == other.size() && std::equal(begin(), end(), other.begin()); } -Str -StrList::join(const Str& sep) const +Str StrList::join(const Str &sep) const { Str result; const auto i1 = begin(); |