| 373 | /** Helper to process a single ClientID argument. */ |
| 374 | template <class T> |
| 375 | static inline void SetClientIdHelper(T &data) |
| 376 | { |
| 377 | if constexpr (std::is_same_v<ClientID, T>) { |
| 378 | if (data == INVALID_CLIENT_ID) data = (ClientID)UINT32_MAX; |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | /** Set all invalid ClientID's to the proper value. */ |
| 383 | template <class Ttuple, size_t... Tindices> |