diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:26:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:26:39 +0200 |
commit | b17d8a19e0880713f8e5ebbe36e38dffc3899758 (patch) | |
tree | ecf16412a51da516660b43ce412df64f382885fc /o3tl | |
parent | 948a3ece9a9ba00201a01268e2facaf178ed8d79 (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ic29f424f5eb579ab95907c110529cdc9002443e1
Diffstat (limited to 'o3tl')
-rw-r--r-- | o3tl/qa/test-range.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |