From 8d2bb28f039da7fb84ea3a554317111d6a0282bf Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Mon, 19 Apr 2021 16:13:11 -0700 Subject: [PATCH] setting the stage for implementation of lambdas in compiled-to-C++ code --- src/Frame.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Frame.cc b/src/Frame.cc index dd6e391adb..eca2a64b42 100644 --- a/src/Frame.cc +++ b/src/Frame.cc @@ -430,7 +430,8 @@ std::pair Frame::Unserialize(const broker::vector& data, if ( captures || *has_name == "CopyFrame" ) { - ASSERT(captures && *has_name == "CopyFrame"); + if ( captures ) + ASSERT(*has_name == "CopyFrame"); auto has_body = broker::get_if(*where); if ( ! has_body )