diff options
Diffstat (limited to 'src/context/context.cpp')
-rw-r--r-- | src/context/context.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/context/context.cpp b/src/context/context.cpp index dce1d0a17..5ff377194 100644 --- a/src/context/context.cpp +++ b/src/context/context.cpp @@ -65,6 +65,8 @@ void Context::push() { void Context::pop() { + Assert(getLevel() > 0, "Cannot pop below level 0"); + // Notify the (pre-pop) ContextNotifyObj objects ContextNotifyObj* pCNO = d_pCNOpre; while (pCNO != NULL) { |