File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 16
16
#include < unordered_map>
17
17
#include < utility>
18
18
19
- // ! The MainSignalsInstance manages a list of shared_ptr<CValidationInterface>
20
- // ! callbacks.
21
- // !
22
- // ! A std::unordered_map is used to track what callbacks are currently
23
- // ! registered, and a std::list is to used to store the callbacks that are
24
- // ! currently registered as well as any callbacks that are just unregistered
25
- // ! and about to be deleted when they are done executing.
26
- struct MainSignalsInstance {
19
+ /* *
20
+ * MainSignalsInstance manages a list of shared_ptr<CValidationInterface> callbacks.
21
+ *
22
+ * A std::unordered_map is used to track what callbacks are currently
23
+ * registered, and a std::list is used to store the callbacks that are
24
+ * currently registered as well as any callbacks that are just unregistered
25
+ * and about to be deleted when they are done executing.
26
+ */
27
+ class MainSignalsInstance
28
+ {
27
29
private:
28
30
Mutex m_mutex;
29
31
// ! List entries consist of a callback pointer and reference count. The
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ class CValidationInterface {
177
177
friend class ValidationInterfaceTest ;
178
178
};
179
179
180
- struct MainSignalsInstance ;
180
+ class MainSignalsInstance ;
181
181
class CMainSignals {
182
182
private:
183
183
std::unique_ptr<MainSignalsInstance> m_internals;
You can’t perform that action at this time.
0 commit comments