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()