cmOutputConverter: Assert construction with a valid snapshot
We unconditionally use information from the snapshot so it must be valid.
This commit is contained in:
parent
b6ed71b17c
commit
c50285dee6
|
@ -22,6 +22,7 @@
|
|||
cmOutputConverter::cmOutputConverter(cmState::Snapshot snapshot)
|
||||
: StateSnapshot(snapshot), LinkScriptShell(false)
|
||||
{
|
||||
assert(this->StateSnapshot.IsValid());
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue