build: don't use a space in user string literals

This fixes errors in clang-17
This commit is contained in:
Danny Robson 2023-11-19 09:26:37 +10:00
parent ff1fcfa977
commit 19095934b2
5 changed files with 5 additions and 16 deletions

View File

@ -5,17 +5,6 @@
#include <cinttypes>
///////////////////////////////////////////////////////////////////////////////
std::vector<uint8_t>
operator"" _u8s (const char *str, size_t len)
{
std::vector<uint8_t> res;
res.resize (len);
std::copy_n (str, len, std::begin (res));
return res;
}
///////////////////////////////////////////////////////////////////////////////
int
main (void)