From 27b991a55d982639744aeddfe2b49428ed766935 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Wed, 17 Feb 2016 11:16:19 -0500 Subject: [PATCH] sstring.hh: return type from str_len(...) need not be const Removes a compile warning. Signed-off-by: Matt Benjamin --- src/common/sstring.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/sstring.hh b/src/common/sstring.hh index b0f7a12c7cd5..8d2c92cc4de9 100644 --- a/src/common/sstring.hh +++ b/src/common/sstring.hh @@ -580,7 +580,7 @@ size_type str_len(const basic_sstring& s) { retu template 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...); } -- 2.47.3