| 60 | } |
| 61 | |
| 62 | CallbackAfter PushParentAfter(int w) { |
| 63 | return [this, w](std::any token) { |
| 64 | const int* v = std::any_cast<int>(&token); |
| 65 | ASSERT_NE(v, nullptr); |
| 66 | std::lock_guard<std::mutex> lock(mutex_); |
| 67 | parent_after_.emplace_back(*v + w); |
| 68 | }; |
| 69 | } |
| 70 | |
| 71 | CallbackAfter PushChildAfter(int w) { |
| 72 | return [this, w](std::any token) { |
nothing calls this directly
no test coverage detected