mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
Merge pull request #7679 from linuxbox2/rgw-ssconst
sstring.hh: return type from str_len(...) need not be const Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
138d771862
@ -580,7 +580,7 @@ size_type str_len(const basic_sstring<char_type, size_type, max_size>& s) { retu
|
||||
|
||||
template <typename First, typename Second, typename... Tail>
|
||||
static inline
|
||||
const size_t str_len(const First& first, const Second& second, const Tail&... tail) {
|
||||
size_t str_len(const First& first, const Second& second, const Tail&... tail) {
|
||||
return str_len(first) + str_len(second, tail...);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user