diff --git a/src/backend/x64/block_of_code.h b/src/backend/x64/block_of_code.h index 9858bfb4..00ef565e 100644 --- a/src/backend/x64/block_of_code.h +++ b/src/backend/x64/block_of_code.h @@ -68,7 +68,7 @@ public: /// Code emitter: Calls the function template void CallFunction(FunctionPointer fn) { - static_assert(std::is_pointer() && std::is_function>(), + static_assert(std::is_pointer_v && std::is_function_v>, "Supplied type must be a pointer to a function"); const u64 address = reinterpret_cast(fn);