summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-23 13:11:37 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-25 12:52:05 (GMT)
commit8f0a5d84e3fa894c687089d5f6dd6463c47968d8 (patch)
treee55b8384fa10fcf008814779cacc570008ea03e4 /Source/cmState.h
parent9644a2d11c06a547c82097028a86bff976f12040 (diff)
downloadCMake-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.h3
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);