From b17d8a19e0880713f8e5ebbe36e38dffc3899758 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Jun 2015 16:26:39 +0200 Subject: [PATCH] loplugin:cstylecast: deal with remaining pointer casts Change-Id: Ic29f424f5eb579ab95907c110529cdc9002443e1 --- o3tl/qa/test-range.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/o3tl/qa/test-range.cxx b/o3tl/qa/test-range.cxx index d89fc7323775..852bf76c503a 100644 --- a/o3tl/qa/test-range.cxx +++ b/o3tl/qa/test-range.cxx @@ -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());