summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2014-05-04 19:03:54 +0000
committerfonsinchen <fonsinchen@openttd.org>2014-05-04 19:03:54 +0000
commit5fc2c3dcc866a4bfe1427906592cd0e993adff6e (patch)
tree116dd79f9439a25481fb64a1cd40b69c0e13a012 /src
parentb0ef051b5ebaccbfaf62a1065a8543cf56c84fbf (diff)
downloadopenttd-5fc2c3dcc866a4bfe1427906592cd0e993adff6e.tar.xz
(svn r26563) -Fix (r26558): Don't pass explicit template arguments to std::make_pair.
Diffstat (limited to 'src')
-rw-r--r--src/script/api/script_station.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/script/api/script_station.cpp b/src/script/api/script_station.cpp
index 2f63d71a5..c03f851a3 100644
--- a/src/script/api/script_station.cpp
+++ b/src/script/api/script_station.cpp
@@ -54,8 +54,7 @@ template<bool Tfrom, bool Tvia>
uint16 cargo_count = 0;
std::pair<StationCargoList::ConstIterator, StationCargoList::ConstIterator> range = Tvia ?
cargo_list.Packets()->equal_range(via_station_id) :
- std::make_pair<StationCargoList::ConstIterator, StationCargoList::ConstIterator>(
- StationCargoList::ConstIterator(cargo_list.Packets()->begin()),
+ std::make_pair(StationCargoList::ConstIterator(cargo_list.Packets()->begin()),
StationCargoList::ConstIterator(cargo_list.Packets()->end()));
for (StationCargoList::ConstIterator it = range.first; it != range.second; it++) {
const CargoPacket *cp = *it;