Skip to content

Commit 94142c3

Browse files
committed
Merge remote-tracking branch 'origin/release/0.7'
2 parents 8a9b819 + 5ba5018 commit 94142c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/http/status.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ limitations under the License.
1919

2020
struct SV : public std::string_view {
2121
template<size_t N>
22-
constexpr SV(const char(&s)[N]) : SV(s, N) { }
22+
constexpr SV(const char(&s)[N]) : SV(s, N-1) { }
2323
constexpr SV(const char* s, size_t n) : std::string_view(s, n) { }
2424
};
2525

0 commit comments

Comments
 (0)