8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 19:23:02 +01:00

Attempt to workaround problem with static_assert(false) in gcc/clang compilers

This commit is contained in:
Vlad Khorsun 2024-11-07 11:02:57 +02:00
parent a86a698929
commit 46480a7d3d

View File

@ -300,7 +300,7 @@ namespace fb_utils
else if constexpr (len == sizeof(char))
*ptr = value;
else
static_assert(false, "unknown data type");
static_assert(len == 0, "unknown data type");
ptr += len;
return ptr;