Skip to content

Commit

Permalink
Wrap macro params in the body in parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdriscoll-lunarg committed Feb 7, 2025
1 parent 1fe6b67 commit 8d7b7cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_apps/common/test_app_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -1038,9 +1038,9 @@ VkShaderModule readShaderFromFile(vkb::DispatchTable const& disp, const std::str

#define VERIFY_VK_RESULT(message, result) \
{ \
VkResult verify_vk_result_result = result; \
VkResult verify_vk_result_result = (result); \
if (verify_vk_result_result != VK_SUCCESS) \
throw gfxrecon::test::vulkan_exception(message, verify_vk_result_result); \
throw gfxrecon::test::vulkan_exception((message), verify_vk_result_result); \
}

struct InitInfo
Expand Down

0 comments on commit 8d7b7cb

Please sign in to comment.