diff options
author | Tobias Markus <tobbi.bugs@googlemail.com> | 2016-05-22 16:35:47 (GMT) |
---|---|---|
committer | Tobias Markus <tobbi.bugs@googlemail.com> | 2016-05-22 16:35:52 (GMT) |
commit | 08d76be4cc597863f6e6b43accbf299d0055ac54 (patch) | |
tree | e69d9c14e6882567742e26928220d9373f2b0483 /googletest/test/gtest_unittest.cc | |
parent | 0a439623f75c029912728d80cb7f1b8b48739ca4 (diff) | |
download | googletest-08d76be4cc597863f6e6b43accbf299d0055ac54.zip googletest-08d76be4cc597863f6e6b43accbf299d0055ac54.tar.gz googletest-08d76be4cc597863f6e6b43accbf299d0055ac54.tar.bz2 |
Performance fixes reported by cppcheckrefs/pull/783/head
Diffstat (limited to 'googletest/test/gtest_unittest.cc')
-rw-r--r-- | googletest/test/gtest_unittest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/googletest/test/gtest_unittest.cc b/googletest/test/gtest_unittest.cc index 88e9413..78257fb 100644 --- a/googletest/test/gtest_unittest.cc +++ b/googletest/test/gtest_unittest.cc @@ -7655,7 +7655,7 @@ TEST(NativeArrayTest, MethodsWork) { EXPECT_EQ(0, *it); ++it; EXPECT_EQ(1, *it); - it++; + ++it; EXPECT_EQ(2, *it); ++it; EXPECT_EQ(na.end(), it); @@ -7703,4 +7703,3 @@ TEST(SkipPrefixTest, DoesNotSkipWhenPrefixDoesNotMatch) { EXPECT_FALSE(SkipPrefix("world!", &p)); EXPECT_EQ(str, p); } - |