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:
parent
a86a698929
commit
46480a7d3d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user