summaryrefslogtreecommitdiff
path: root/Source/cmOutputConverter.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-14 14:16:53 -0400
committerBrad King <brad.king@kitware.com>2021-05-17 10:03:43 -0400
commit013ec595c8d6971c568cff4f8e457d90a6e8be88 (patch)
tree3266653b2f5564d256384db3e9541e1a65f31d9c /Source/cmOutputConverter.h
parent24bfdbcffba42fc0aac6ef3b575bd50a180d26ea (diff)
downloadcmake-013ec595c8d6971c568cff4f8e457d90a6e8be88.tar.gz
cmLocalGenerator: De-duplicate StateSnapshot member
We have the member from the cmOutputConverter parent.
Diffstat (limited to 'Source/cmOutputConverter.h')
-rw-r--r--Source/cmOutputConverter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h
index f1a8041ba7..c67e74b9be 100644
--- a/Source/cmOutputConverter.h
+++ b/Source/cmOutputConverter.h
@@ -102,6 +102,9 @@ public:
};
static FortranPreprocess GetFortranPreprocess(cm::string_view value);
+protected:
+ cmStateSnapshot StateSnapshot;
+
private:
cmState* GetState() const;
@@ -111,7 +114,5 @@ private:
static bool Shell_ArgumentNeedsQuotes(cm::string_view in, int flags);
static std::string Shell_GetArgument(cm::string_view in, int flags);
- cmStateSnapshot StateSnapshot;
-
bool LinkScriptShell;
};