commit | ec098003e27d67bca9e9880320e26ab8ad30fe31 | [log] [tgz] |
---|---|---|
author | Simon Marchi <simon.marchi@polymtl.ca> | Sat Apr 24 19:26:04 2021 -0400 |
committer | Simon Marchi <simon.marchi@polymtl.ca> | Sat Apr 24 19:26:41 2021 -0400 |
tree | c3e8bb931117daafa5dab0a39f863ae065841f8e | |
parent | 3886790f133ce1ee2f30ebf37bb7dec1f812f29a [diff] |
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