From fa93d48199fd864c7d7076a07410e1276c4eedb1 Mon Sep 17 00:00:00 2001 From: ilor <kailoran@gmail.com> Date: Thu, 21 Apr 2011 14:08:50 +0200 Subject: [PATCH] add an assert in ActionExecContext ctor --- libwccl/ops/actionexeccontext.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libwccl/ops/actionexeccontext.h b/libwccl/ops/actionexeccontext.h index 27115e5..b49b513 100644 --- a/libwccl/ops/actionexeccontext.h +++ b/libwccl/ops/actionexeccontext.h @@ -18,6 +18,7 @@ public: const boost::shared_ptr<Variables>& vars) : sentence_context_(sentence_context), vars_(vars) { + BOOST_ASSERT(vars_); } /** -- GitLab