mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-09 15:42:58 -04:00
Un-const Message in message handler interfaces.
I want to modify in place the messages that are received. Naughty, but oh well.
This commit is contained in:
parent
5469a3a31d
commit
31ff13f1c0
5 changed files with 8 additions and 8 deletions
|
@ -124,7 +124,7 @@ private:
|
|||
|
||||
void handle_application_queue() {
|
||||
std::array<uint8_t, Message::MAX_SIZE> message_buffer;
|
||||
while(const Message* const message = shared_memory.application_queue.pop(message_buffer)) {
|
||||
while(Message* const message = shared_memory.application_queue.pop(message_buffer)) {
|
||||
context.message_map.send(message);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue