We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8a9b819 + 5ba5018 commit 94142c3Copy full SHA for 94142c3
net/http/status.cpp
@@ -19,7 +19,7 @@ limitations under the License.
19
20
struct SV : public std::string_view {
21
template<size_t N>
22
- constexpr SV(const char(&s)[N]) : SV(s, N) { }
+ constexpr SV(const char(&s)[N]) : SV(s, N-1) { }
23
constexpr SV(const char* s, size_t n) : std::string_view(s, n) { }
24
};
25
0 commit comments