This commit is contained in:
J. Nick Koston 2025-06-28 23:24:30 -05:00
parent fca9befa63
commit 60a5029c88
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class APIConnection;
// Macro for generating ListEntitiesIterator handlers
// Calls schedule_message_ with try_send_*_info
#define LIST_ENTITIES_HANDLER(entity_type, EntityClass, ResponseType) \
bool ListEntitiesIterator::on_##entity_type(EntityClass *entity) { \
bool ListEntitiesIterator::on_##entity_type((EntityClass) *entity) { \
return this->client_->schedule_message_(entity, &APIConnection::try_send_##entity_type##_info, \
ResponseType::MESSAGE_TYPE); \
}

View File

@ -13,7 +13,7 @@ class APIConnection;
// Macro for generating InitialStateIterator handlers
// Calls send_*_state
#define INITIAL_STATE_HANDLER(entity_type, EntityClass) \
bool InitialStateIterator::on_##entity_type(EntityClass *entity) { \
bool InitialStateIterator::on_##entity_type((EntityClass) *entity) { \
return this->client_->send_##entity_type##_state(entity); \
}