summaryrefslogtreecommitdiff
path: root/src/compat/iter_test.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-05-27 18:04:02 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-05-27 18:04:02 -0700
commit8ce2f240dba5bdd0ca47ac25f16f140d8d1744fc (patch)
treec7e58cc4dbb261adcdb0db62b69da95189bccc98 /src/compat/iter_test.cpp
parentaf4acff261d579428e8eef042cc5359fa392f725 (diff)
downloadtmwa-8ce2f240dba5bdd0ca47ac25f16f140d8d1744fc.tar.gz
tmwa-8ce2f240dba5bdd0ca47ac25f16f140d8d1744fc.tar.bz2
tmwa-8ce2f240dba5bdd0ca47ac25f16f140d8d1744fc.tar.xz
tmwa-8ce2f240dba5bdd0ca47ac25f16f140d8d1744fc.zip
Was the bug in my code or in the compiler? Who knows?
Diffstat (limited to 'src/compat/iter_test.cpp')
-rw-r--r--src/compat/iter_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/iter_test.cpp b/src/compat/iter_test.cpp
index f6f59d4..b9bfb6a 100644
--- a/src/compat/iter_test.cpp
+++ b/src/compat/iter_test.cpp
@@ -117,7 +117,7 @@ TEST(iterpair, filter1)
int *expected_it = expected_arr;
int *expected_end = expected_arr + 4;
- for (int& i : filter_iterator<int&, is_odd_ref>(&arr))
+ for (int& i : filter_iterator<int&>(&arr, is_odd_ref))
{
EXPECT_EQ(i, *expected_it);
++expected_it;