| 22 | } |
| 23 | |
| 24 | void deserialize(rx::Deserializer &s) { |
| 25 | while (true) { |
| 26 | auto id = s.deserialize<std::uint8_t>(); |
| 27 | if (id == static_cast<std::uint8_t>(-1)) { |
| 28 | break; |
| 29 | } |
| 30 | |
| 31 | auto value = s.deserialize<orbis::pid_t>(); |
| 32 | |
| 33 | if (s.failure()) { |
| 34 | break; |
| 35 | } |
| 36 | |
| 37 | if (!pidMap.emplace_at(id, value)) { |
| 38 | s.setFailure(); |
| 39 | return; |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | }; |
| 44 | |
| 45 | static auto g_processIdList = |
nothing calls this directly
no test coverage detected