diff options
author | Josh Blum | 2013-04-06 21:33:53 -0700 |
---|---|---|
committer | Josh Blum | 2013-04-06 21:33:53 -0700 |
commit | 303319d96477d1e2838dda8605568f7b8ee3d95d (patch) | |
tree | dd7234805f5a048ef7b0423b40dd9547215085ca /lib/input_handlers.cpp | |
parent | 74a8855cccdd81c673d0ae3d94a74f94bbbe9bfd (diff) | |
download | sandhi-303319d96477d1e2838dda8605568f7b8ee3d95d.tar.gz sandhi-303319d96477d1e2838dda8605568f7b8ee3d95d.tar.bz2 sandhi-303319d96477d1e2838dda8605568f7b8ee3d95d.zip |
gras: cleaner way for msgs to override item reserve
Diffstat (limited to 'lib/input_handlers.cpp')
-rw-r--r-- | lib/input_handlers.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/input_handlers.cpp b/lib/input_handlers.cpp index 4702329..c82efb3 100644 --- a/lib/input_handlers.cpp +++ b/lib/input_handlers.cpp @@ -23,17 +23,6 @@ void BlockActor::handle_input_msg(const InputMsgMessage &message, const Theron:: MESSAGE_TRACER(); const size_t index = message.index; - //got an input message? remove the item reserve - //This is for user convenience so msg ports - //dont need any special configuration to work. - if (this->input_configs[index].reserve_items) - { - this->input_configs[index].reserve_items = 0; - InputUpdateMessage message; - message.index = index; - this->handle_input_update(message, Theron::Address()); - } - //handle incoming async message, push into the msg storage if (this->block_state == BLOCK_STATE_DONE) return; this->input_msgs[index].push_back(message.msg); |