summaryrefslogtreecommitdiff
path: root/lib/block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/block.cpp')
-rw-r--r--lib/block.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/block.cpp b/lib/block.cpp
index 4c7f113..8329d53 100644
--- a/lib/block.cpp
+++ b/lib/block.cpp
@@ -43,8 +43,7 @@ Block::Block(const std::string &name):
(*this)->block_ptr = this;
(*this)->hint = 0;
- (*this)->active = false;
- (*this)->done = false;
+ (*this)->block_state = ElementImpl::BLOCK_STATE_INIT;
}
template <typename V, typename T>