From 051244c8d6f84a60cd33e2ddc02ed3944ae11343 Mon Sep 17 00:00:00 2001 From: lethosor Date: Fri, 6 Nov 2015 20:05:14 -0500 Subject: [PATCH] Fix GCC compile error --- library/modules/Constructions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/modules/Constructions.cpp b/library/modules/Constructions.cpp index a60059b5c..98410c331 100644 --- a/library/modules/Constructions.cpp +++ b/library/modules/Constructions.cpp @@ -70,7 +70,7 @@ df::construction * Constructions::getConstruction(const int32_t index) df::construction * Constructions::findAtTile(df::coord pos) { - for (auto it = begin (world->constructions); it != end (world->constructions); ++it) { + for (auto it = world->constructions.begin(); it != world->constructions.end(); ++it) { if ((*it)->pos == pos) return *it; }