From 048f9017308ce2327971bb90c01f68880035e3f5 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Tue, 19 Sep 2017 19:26:25 -0700 Subject: [PATCH] fix weird compile error --- src/vulkan_icd/x11_wsi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan_icd/x11_wsi.cpp b/src/vulkan_icd/x11_wsi.cpp index 5166f43..9b2b76e 100644 --- a/src/vulkan_icd/x11_wsi.cpp +++ b/src/vulkan_icd/x11_wsi.cpp @@ -936,7 +936,7 @@ util::variant> Xcb_wsi::create_swapc return VK_ERROR_SURFACE_LOST_KHR; case Implementation::Swapchain::Status::Good: case Implementation::Swapchain::Status::Out_of_date: // we'll return out of date later - return swapchain; + return std::move(swapchain); } assert(!"unreachable"); return {}; -- 2.30.2