From a88cfb168a32c2bccccd4ad698c6787e77ad6a4d Mon Sep 17 00:00:00 2001 From: Neil MacIntosh Date: Wed, 27 Jul 2016 13:48:29 -0700 Subject: [PATCH] Fixed type-name mixup in string_span. --- include/string_span.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/string_span.h b/include/string_span.h index 1df7e6e..0ca3c51 100644 --- a/include/string_span.h +++ b/include/string_span.h @@ -362,21 +362,19 @@ public: { } - // first Count elements template constexpr basic_string_span first() const { return {span_.template first()}; } - constexpr basic_string_span first(index_type count) const + constexpr basic_string_span first(index_type count) const { return {span_.first(count)}; } - // last Count elements template - constexpr basic_string_span last() const + constexpr basic_string_span last() const { return {span_.template last()}; }