summaryrefslogtreecommitdiff
path: root/lib/block.cpp
diff options
context:
space:
mode:
authorJosh Blum2012-09-29 10:30:52 -0700
committerJosh Blum2012-09-29 10:30:52 -0700
commitf3194e33de2a6496ce9ea838681e62b64fa689f4 (patch)
tree37b80081a4978826b6bf56603ed0bd35520e4af4 /lib/block.cpp
parent17e39ddbb0940d9d5e687713531e9a18d18e29f1 (diff)
downloadsandhi-f3194e33de2a6496ce9ea838681e62b64fa689f4.tar.gz
sandhi-f3194e33de2a6496ce9ea838681e62b64fa689f4.tar.bz2
sandhi-f3194e33de2a6496ce9ea838681e62b64fa689f4.zip
ported block task and tag handlers to apology
Diffstat (limited to 'lib/block.cpp')
-rw-r--r--lib/block.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/block.cpp b/lib/block.cpp
index 2ca4e8b..21165f2 100644
--- a/lib/block.cpp
+++ b/lib/block.cpp
@@ -157,9 +157,7 @@ void Block::add_item_tag(
const size_t which_output,
const Tag &tag
){
- InputTagMessage message;
- message.tag = tag;
- (*this)->block->post_downstream(which_output, message);
+ (*this)->block->post_downstream(which_output, InputTagMessage(tag));
}
void Block::add_item_tag(