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.h | |
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.h')
-rw-r--r-- | Source/cmState.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index acd23a5..17ee6ec 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -43,7 +43,8 @@ public: class Snapshot { public: - Snapshot(cmState* state = 0, PositionType position = PositionType()); + Snapshot(cmState* state = 0); + Snapshot(cmState* state, PositionType position); void SetListFile(std::string const& listfile); |