diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-17 11:33:31 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-17 11:33:31 +0000 |
commit | 206f4b33a1da89c4eb1c7140a70e68466a8f8530 (patch) | |
tree | cfef7c74317c9bc3a433fcfe7b6fded55112f63a /gcc/lto/lto-lang.c | |
parent | f3c08b92531f2e6a4c8d769fb1096a84cca8de16 (diff) | |
download | gcc-206f4b33a1da89c4eb1c7140a70e68466a8f8530.tar.gz |
* include/bits/forward_list.h (forward_list::_M_get_Node_allocator):
Remove unnecessary uses of operator& and static_cast.
* include/bits/forward_list.tcc
(forward_list::operator=(const forward_list&)): Use __addressof
instead of operator&.
(forward_list::remove(const _Tp&), forward_list::remove(_Pred)):
Remove invalid static_casts.
* include/debug/forward_list: Use __addressof instead of operator&.
* testsuite/23_containers/forward_list/modifiers/addressof.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224553 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto/lto-lang.c')
0 files changed, 0 insertions, 0 deletions