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)