diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-05-27 18:04:02 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-05-27 18:04:02 -0700 |
commit | 8ce2f240dba5bdd0ca47ac25f16f140d8d1744fc (patch) | |
tree | c7e58cc4dbb261adcdb0db62b69da95189bccc98 /src/compat/iter_test.cpp | |
parent | af4acff261d579428e8eef042cc5359fa392f725 (diff) | |
download | tmwa-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.cpp | 2 |
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; |