diff --git a/src/backend/WasmUtil.hpp b/src/backend/WasmUtil.hpp index a88c32aa..fac8a8ae 100644 --- a/src/backend/WasmUtil.hpp +++ b/src/backend/WasmUtil.hpp @@ -366,6 +366,9 @@ inline To convert(SQL_t &variant) [](auto actual) -> To requires requires { actual.template to(); } { return actual.template to(); }, + [](NChar actual) -> NChar requires std::same_as { + return actual; + }, [](auto actual) -> To requires (not requires { actual.template to(); }) { M_unreachable("illegal conversion"); },