From e26efc8561af8659bfc7b3a98cf8a9f67ece97a7 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Thu, 17 Mar 2011 12:46:54 +0000 Subject: [PATCH] Linux build fix. Why would you swap with an empty temporary vector instead of clearing a vector? What were you thinking? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7368 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/State.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/State.cpp b/Source/Core/Core/Src/State.cpp index 3f63b5a9f5..8a917487f3 100644 --- a/Source/Core/Core/Src/State.cpp +++ b/Source/Core/Core/Src/State.cpp @@ -392,8 +392,8 @@ void Shutdown() { Flush(); - g_current_buffer.swap(std::vector()); - g_undo_load_buffer.swap(std::vector()); + g_current_buffer.clear(); + g_undo_load_buffer.clear(); } static std::string MakeStateFilename(int number)