From 6c67fe4b29c1a2f4de5f81a4bfa89d30768e9dd3 Mon Sep 17 00:00:00 2001 From: DrChat Date: Fri, 2 Mar 2018 22:35:29 -0600 Subject: [PATCH] [Vulkan UI] Fix Travis --- src/xenia/ui/vulkan/circular_buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/ui/vulkan/circular_buffer.cc b/src/xenia/ui/vulkan/circular_buffer.cc index 9230df48e..bf76b9d95 100644 --- a/src/xenia/ui/vulkan/circular_buffer.cc +++ b/src/xenia/ui/vulkan/circular_buffer.cc @@ -244,7 +244,7 @@ void CircularBuffer::Flush(VkDeviceSize offset, VkDeviceSize length) { } void CircularBuffer::Clear() { - std::swap(allocations_, std::queue()); + allocations_.swap(std::queue()); write_head_ = read_head_ = 0; }