diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-04-27 16:17:05 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-04-27 16:17:05 +0100 |
commit | 4ca4927ac62079290939b2b93124ee8e09864491 (patch) | |
tree | a6188c3c6878f709e97545a60c065b7f7387cb6f /libstdc++-v3/include/ext | |
parent | 94baf2e2cf4d42c390b1c7a4769de2cb64e4db14 (diff) | |
download | gcc-4ca4927ac62079290939b2b93124ee8e09864491.tar.gz |
Remove reundant const-qualification from cast targets
* include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp
(PB_DS_CLASS_C_DEC::end()): Remove redundant const in cast type.
* testsuite/util/testsuite_rng.h (twister_rand_gen::get_prob()):
Likewise.
From-SVN: r247346
Diffstat (limited to 'libstdc++-v3/include/ext')
-rw-r--r-- | libstdc++-v3/include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp b/libstdc++-v3/include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp index 91fef515977..a1b6ed5e58d 100644 --- a/libstdc++-v3/include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp +++ b/libstdc++-v3/include/ext/pb_ds/detail/list_update_map_/iterators_fn_imps.hpp @@ -75,6 +75,6 @@ inline typename PB_DS_CLASS_C_DEC::const_iterator PB_DS_CLASS_C_DEC:: end() const { - return const_iterator(0, 0, const_cast<PB_DS_CLASS_C_DEC* const>(this)); + return const_iterator(0, 0, const_cast<PB_DS_CLASS_C_DEC*>(this)); } |