summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/flood_find.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/flood_find.h')
-rw-r--r--crawl-ref/source/flood_find.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/flood_find.h b/crawl-ref/source/flood_find.h
index e88501c7de..d128afbcd5 100644
--- a/crawl-ref/source/flood_find.h
+++ b/crawl-ref/source/flood_find.h
@@ -30,7 +30,7 @@ protected:
protected:
bool point_hunt, want_exit, no_vault, check_traversable;
bool needed_features[NUM_FEATURES];
- std::vector<coord_def> needed_points;
+ vector<coord_def> needed_points;
bool left_vault;
const map_mask *vaults;
@@ -126,8 +126,8 @@ bool flood_find<fgrd, bound_check>::path_flood(
if (!needed_points.empty())
{
- std::vector<coord_def>::iterator i =
- std::find(needed_points.begin(), needed_points.end(), dc);
+ vector<coord_def>::iterator i = find(needed_points.begin(),
+ needed_points.end(), dc);
if (i != needed_points.end())
{
needed_points.erase(i);