diff options
author | Victor Zverovich <victor.zverovich@gmail.com> | 2019-10-21 06:51:21 -0700 |
---|---|---|
committer | Victor Zverovich <victor.zverovich@gmail.com> | 2019-10-21 06:57:42 -0700 |
commit | d39ebf3ff251bf199f88f917cecc504230823342 (patch) | |
tree | 68a1cb80c461685c9c0120d23e0532aba557c203 /test | |
parent | 6498bc6d316d66f96353960c612cf0cabb041a86 (diff) | |
download | fmtlib-d39ebf3ff251bf199f88f917cecc504230823342.tar.gz |
Optimize counting
Diffstat (limited to 'test')
-rw-r--r-- | test/format-test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/format-test.cc b/test/format-test.cc index 8bd2fe9d..67eb9be8 100644 --- a/test/format-test.cc +++ b/test/format-test.cc @@ -182,7 +182,7 @@ TEST(UtilTest, ParseNonnegativeInt) { } TEST(IteratorTest, CountingIterator) { - fmt::internal::counting_iterator<char> it; + fmt::internal::counting_iterator it; auto prev = it++; EXPECT_EQ(prev.count(), 0); EXPECT_EQ(it.count(), 1); |