Commit 014e95d
EventTracker cleanup
Summary:
1. **Fix member initializer order** (`EventTracker.cpp/.h`): Reorder the member initializer list and declarations so `sampler_` is initialized before `preQueueCallback_` and `postQueueCallback_`, matching the C++ rule that members are initialized in declaration order (avoids compiler warnings and potential undefined behavior if there were dependencies between them).
2. **Remove dead includes** (`CacheAdmin.cpp`, `BUCK`): Remove unused `#include` of `LoggerEventSink.h` and `LunaSampler.h` from `CacheAdmin.cpp` and their corresponding BUCK deps.
___
overriding_review_checks_triggers_an_audit_and_retroactive_review
Oncall Short Name: cachelib
Differential Revision: D96831625
fbshipit-source-id: 6abbe2420b768c50fb75d0430d5801116caf0cb91 parent 49a6da1 commit 014e95d
2 files changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| |||
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | | - | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
0 commit comments