build: remove space in UDL definition

Fixes an error under clang
This commit is contained in:
Danny Robson 2024-02-21 14:17:26 +10:00
parent b3e14f949e
commit aa8f4590c6
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ using cruft::crypto::hash::MD5;
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
std::vector<uint8_t> std::vector<uint8_t>
operator"" _u8s (const char *str, size_t len) operator""_u8s (const char *str, size_t len)
{ {
std::vector<uint8_t> res; std::vector<uint8_t> res;
res.resize (len); res.resize (len);

View File

@ -10,7 +10,7 @@ using cruft::crypto::hash::RIPEMD;
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
std::vector<uint8_t> std::vector<uint8_t>
operator"" _u8s (const char *str, size_t len) operator""_u8s (const char *str, size_t len)
{ {
std::vector<uint8_t> res; std::vector<uint8_t> res;
res.resize (len); res.resize (len);

View File

@ -14,7 +14,7 @@ using cruft::crypto::hash::SHA1;
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
std::vector<uint8_t> std::vector<uint8_t>
operator"" _u8s (const char *str, size_t len) operator""_u8s (const char *str, size_t len)
{ {
std::vector<uint8_t> res; std::vector<uint8_t> res;
res.resize (len); res.resize (len);