Commit c50285de authored by Brad King's avatar Brad King

cmOutputConverter: Assert construction with a valid snapshot

We unconditionally use information from the snapshot so it must be
valid.
parent b6ed71b1
......@@ -22,6 +22,7 @@
cmOutputConverter::cmOutputConverter(cmState::Snapshot snapshot)
: StateSnapshot(snapshot), LinkScriptShell(false)
{
assert(this->StateSnapshot.IsValid());
}
//----------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment