Kaydet (Commit) b17d8a19 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: deal with remaining pointer casts

Change-Id: Ic29f424f5eb579ab95907c110529cdc9002443e1
üst 948a3ece
......@@ -199,7 +199,7 @@ public:
CPPUNIT_ASSERT_MESSAGE("ivec distance_to4", t1.distance_to(t11) == 2);
CPPUNIT_ASSERT_MESSAGE("ivec distance_to5", t1.distance_to(t3) == -88);
const std::vector< int* > h2(20, (int*)0);
const std::vector< int* > h2(20, nullptr);
std::deque< double > h3(30, 0.0);
CPPUNIT_ASSERT_MESSAGE("range_of1", range_of(h2).begin() == h2.begin());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment