diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-04-24 19:26:04 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-04-24 19:26:41 -0400 |
commit | ec098003e27d67bca9e9880320e26ab8ad30fe31 (patch) | |
tree | c3e8bb931117daafa5dab0a39f863ae065841f8e /libiberty/bzero.c | |
parent | 3886790f133ce1ee2f30ebf37bb7dec1f812f29a (diff) | |
download | gdb-ec098003e27d67bca9e9880320e26ab8ad30fe31.zip gdb-ec098003e27d67bca9e9880320e26ab8ad30fe31.tar.gz gdb-ec098003e27d67bca9e9880320e26ab8ad30fe31.tar.bz2 |
gdbsupport: introduce struct observer
Instead of using a pair. This allows keeping more data per observer in
a structured way, and using field names is clearer than first/second.
gdbsupport/ChangeLog:
* observable.h (class observable) <struct observer>: New.
<detach, notify>: Update.
<m_observers>: Change type to vector of observers.
Change-Id: Iadf7d1fa25049cfb089e6b1b429ddebc548825ab
Diffstat (limited to 'libiberty/bzero.c')
0 files changed, 0 insertions, 0 deletions