commit - dc02eff9b1f1d628b5f6cdcbc26756152eed8c21
commit + 66b4d5213bcab3f70a42354d0833741a8cf7eeb8
blob - f9a5c944c04a3461b69cbc83ccedfe9a3ff7c366
blob + 69ec0c58385e435f9305149e1903048a474c0154
--- vostok/vostok.cc
+++ vostok/vostok.cc
namespace vostok
{
namespace
-{
-
-
-/** Remove null terminating character and return as span */
-template <std::size_t N>
-constexpr span<const char> cut_null(const char (&arr)[N])
{
- static_assert(N > 0, "!(N > 0)");
- return span<const char>{arr, N - 1};
-}
-
namespace meta
{
const char sz_bad_request[] = "Bad request";