setting the stage for implementation of lambdas in compiled-to-C++ code

This commit is contained in:
Vern Paxson 2021-04-19 16:13:11 -07:00
parent 5efba9e115
commit 8d2bb28f03

View file

@ -430,7 +430,8 @@ std::pair<bool, FramePtr> 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<broker::vector>(*where);
if ( ! has_body )