diff options
author | Brad King <brad.king@kitware.com> | 2015-07-23 13:11:37 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-25 12:52:05 (GMT) |
commit | 8f0a5d84e3fa894c687089d5f6dd6463c47968d8 (patch) | |
tree | e55b8384fa10fcf008814779cacc570008ea03e4 /Source/cmState.cxx | |
parent | 9644a2d11c06a547c82097028a86bff976f12040 (diff) | |
download | CMake-8f0a5d84e3fa894c687089d5f6dd6463c47968d8.zip CMake-8f0a5d84e3fa894c687089d5f6dd6463c47968d8.tar.gz CMake-8f0a5d84e3fa894c687089d5f6dd6463c47968d8.tar.bz2 |
cmState: Fix compilation on IBM XL compiler
Delay use of the PositionType constructor until after SnapshotDataType
is fully defined.
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r-- | Source/cmState.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx index 9cbb841..d73148d 100644 --- a/Source/cmState.cxx +++ b/Source/cmState.cxx @@ -803,6 +803,12 @@ cmState::Snapshot cmState::Pop(cmState::Snapshot originSnapshot) return Snapshot(this, originSnapshot.Position->CallStackParent); } +cmState::Snapshot::Snapshot(cmState* state) + : State(state) + , Position() +{ +} + cmState::Snapshot::Snapshot(cmState* state, PositionType position) : State(state), Position(position) |