From 3fa2c9fbac168d4bde8f36881091caf5e84afd73 Mon Sep 17 00:00:00 2001 From: Sonicadvance1 Date: Sun, 8 Nov 2009 10:37:04 +0000 Subject: [PATCH] Fix Linux compiling entirely git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4518 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/LuaInterface.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/Src/LuaInterface.cpp b/Source/Core/Core/Src/LuaInterface.cpp index 6b4bc8b3cf..72fe99cc67 100644 --- a/Source/Core/Core/Src/LuaInterface.cpp +++ b/Source/Core/Core/Src/LuaInterface.cpp @@ -3839,8 +3839,8 @@ struct TieredRegion bool Contains(unsigned int address, int size) const { - std::vector::const_iterator iter = islands.begin(); - std::vector::const_iterator end = islands.end(); + typename std::vector::const_iterator iter;// = islands.begin(); + typename std::vector::const_iterator end;// = islands.end(); for(; iter != end; ++iter) if(iter->Contains(address, size)) return true; @@ -3863,7 +3863,10 @@ struct TieredRegion TieredRegion() { - Calculate(std::vector); + std::vector bytes; + Calculate(bytes); + // GCC didn't like the old style + // Calculate(std::vector()); } __forceinline int NotEmpty()