fixed assertion

This commit is contained in:
Liana Husikyan 2015-06-04 11:46:10 +02:00
parent d639c225f2
commit 3d0807a9fa

View File

@ -42,7 +42,7 @@ class StackHeightChecker
public:
StackHeightChecker(CompilerContext const& _context):
m_context(_context), stackHeight(m_context.getStackHeight()) {}
void check() {/* solAssert(m_context.getStackHeight() == stackHeight, "I sense a disturbance in the stack."); */}
void check() { solAssert(m_context.getStackHeight() == stackHeight, "I sense a disturbance in the stack."); }
private:
CompilerContext const& m_context;
unsigned stackHeight;