diff options
| author | Glenn Rice <glennricster@gmail.com> | 2011-03-17 12:46:54 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2011-03-17 12:46:54 +0000 |
| commit | e26efc8561af8659bfc7b3a98cf8a9f67ece97a7 (patch) | |
| tree | 7bde634c28863f3e8f37ecfe5fde600b2ac9c450 /Source/Core | |
| parent | 88c8b891f7309b3a2254f529242ecb3ebef9c69d (diff) | |
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
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/State.cpp | 4 |
1 files 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<u8>()); - g_undo_load_buffer.swap(std::vector<u8>()); + g_current_buffer.clear(); + g_undo_load_buffer.clear(); } static std::string MakeStateFilename(int number) |
