mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-09 23:44:00 +03:00
cmOutputConverter: Assert construction with a valid snapshot
We unconditionally use information from the snapshot so it must be valid.
This commit is contained in:
1 parent
b6ed71b17c
commit
c50285dee6
1 file changed
+1
@@ -22,6 +22,7 @@
|
||||
cmOutputConverter::cmOutputConverter(cmState::Snapshot snapshot)
|
||||
: StateSnapshot(snapshot), LinkScriptShell(false)
|
||||
{
|
||||
assert(this->StateSnapshot.IsValid());
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user