mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-11 19:26:30 +00:00
Replace (void)(...); idiom with UNUSED macro
This commit is contained in:
@@ -27,3 +27,5 @@ using f32 = float;
|
||||
using f64 = double;
|
||||
static_assert(sizeof(f32) == sizeof(u32), "f32 must be 32 bits wide");
|
||||
static_assert(sizeof(f64) == sizeof(u64), "f64 must be 64 bits wide");
|
||||
|
||||
#define UNUSED(...) (void)([__VA_ARGS__](){})
|
||||
|
||||
Reference in New Issue
Block a user