From cdf92c6300b6770c8472477c8d20a2758f9b970b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 12 Sep 2017 16:57:19 +0200 Subject: [PATCH] util/StringView: remove redundant template parameters --- src/util/StringView.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/util/StringView.hxx b/src/util/StringView.hxx index 8a7edc090..079b8ebef 100644 --- a/src/util/StringView.hxx +++ b/src/util/StringView.hxx @@ -38,17 +38,17 @@ struct StringView : ConstBuffer { StringView() = default; constexpr StringView(pointer_type _data, size_type _size) noexcept - :ConstBuffer(_data, _size) {} + :ConstBuffer(_data, _size) {} constexpr StringView(pointer_type _begin, pointer_type _end) noexcept - :ConstBuffer(_begin, _end - _begin) {} + :ConstBuffer(_begin, _end - _begin) {} StringView(pointer_type _data) noexcept - :ConstBuffer(_data, - _data != nullptr ? strlen(_data) : 0) {} + :ConstBuffer(_data, + _data != nullptr ? strlen(_data) : 0) {} constexpr StringView(std::nullptr_t n) noexcept - :ConstBuffer(n) {} + :ConstBuffer(n) {} static constexpr StringView Empty() noexcept { return StringView("", size_t(0));