aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/fileio.cc
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2022-04-08 20:03:46 +0100
committerPedro Alves <pedro@palves.net>2022-04-13 10:24:38 +0100
commit50b032ebc0519a2b2585c499b9901fde9a0eccee (patch)
tree746b62d1507d5057380757dfdab6dedfe79604fd /gdbsupport/fileio.cc
parentd095eb4e877edb901e56546e29ac24da0bec346b (diff)
downloadgdb-50b032ebc0519a2b2585c499b9901fde9a0eccee.zip
gdb-50b032ebc0519a2b2585c499b9901fde9a0eccee.tar.gz
gdb-50b032ebc0519a2b2585c499b9901fde9a0eccee.tar.bz2
Make intrusive_list_node's next/prev private
Tromey noticed that intrusive_list_node leaves its data members public, which seems sub-optimal. This commit makes intrusive_list_node's data fields private. intrusive_list_iterator, intrusive_list_reverse_iterator, and intrusive_list do need to access the fields, so they are made friends. Change-Id: Ia8b306b40344cc218d423c8dfb8355207a612ac5
Diffstat (limited to 'gdbsupport/fileio.cc')
0 files changed, 0 insertions, 0 deletions