commit 66b4d5213bcab3f70a42354d0833741a8cf7eeb8 from: Aleksey Ryndin date: Thu Aug 17 14:34:50 2023 UTC Remove duplicate of code commit - dc02eff9b1f1d628b5f6cdcbc26756152eed8c21 commit + 66b4d5213bcab3f70a42354d0833741a8cf7eeb8 blob - f9a5c944c04a3461b69cbc83ccedfe9a3ff7c366 blob + 69ec0c58385e435f9305149e1903048a474c0154 --- vostok/vostok.cc +++ vostok/vostok.cc @@ -18,18 +18,8 @@ namespace vostok { namespace -{ - - -/** Remove null terminating character and return as span */ -template -constexpr span cut_null(const char (&arr)[N]) { - static_assert(N > 0, "!(N > 0)"); - return span{arr, N - 1}; -} - namespace meta { const char sz_bad_request[] = "Bad request";