diff options
Diffstat (limited to 'tests/auto/other/toolsupport')
-rw-r--r-- | tests/auto/other/toolsupport/tst_toolsupport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/other/toolsupport/tst_toolsupport.cpp b/tests/auto/other/toolsupport/tst_toolsupport.cpp index c023fa3ac3..19b6adb4b3 100644 --- a/tests/auto/other/toolsupport/tst_toolsupport.cpp +++ b/tests/auto/other/toolsupport/tst_toolsupport.cpp @@ -64,7 +64,7 @@ size_t pmm_to_offsetof(T K:: *pmm) #else size_t ret; #endif - Q_STATIC_ASSERT(sizeof(ret) == sizeof(pmm)); + static_assert(sizeof(ret) == sizeof(pmm)); memcpy(&ret, &pmm, sizeof(ret)); return ret; } |