From c16de538149069c81cfbbab74f278f703beddb7b Mon Sep 17 00:00:00 2001 From: Matthew Early Date: Thu, 13 Oct 2022 11:23:53 -0400 Subject: [PATCH] fix if --- docs/getting_started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started.md b/docs/getting_started.md index d3f2629..65e80da 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -234,7 +234,7 @@ Creating a swapchain follows the same form outlined by `vkb::InstanceBuilder` an ```cpp vkb::SwapchainBuilder swapchain_builder{ device }; auto swap_ret = swapchain_builder.build (); -if !(swap_ret){ +if (!swap_ret){ } vkb::swapchain swapchain = swap_ret.value();