summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudioVersionedGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-16 10:53:22 -0400
committerBrad King <brad.king@kitware.com>2021-06-16 13:22:32 -0400
commitaabc3ca47d51731e247300e4a6159f41e9dcb17c (patch)
treedfbc626fa1439840d88dbefb92b59e47d4d97dc8 /Source/cmGlobalVisualStudioVersionedGenerator.h
parente66a7fe07b117362120ae62826eb51c189f39c40 (diff)
downloadcmake-aabc3ca47d51731e247300e4a6159f41e9dcb17c.tar.gz
cmGlobalVisualStudio10Generator: Adopt GetVSInstanceVersion method
Port from `cmGlobalVisualStudioVersionedGenerator`.
Diffstat (limited to 'Source/cmGlobalVisualStudioVersionedGenerator.h')
-rw-r--r--Source/cmGlobalVisualStudioVersionedGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioVersionedGenerator.h b/Source/cmGlobalVisualStudioVersionedGenerator.h
index cee129e52b..105e4954bd 100644
--- a/Source/cmGlobalVisualStudioVersionedGenerator.h
+++ b/Source/cmGlobalVisualStudioVersionedGenerator.h
@@ -28,7 +28,7 @@ public:
bool GetVSInstance(std::string& dir) const;
- bool GetVSInstanceVersion(unsigned long long& vsInstanceVersion) const;
+ cm::optional<unsigned long long> GetVSInstanceVersion() const override;
AuxToolset FindAuxToolset(std::string& version,
std::string& props) const override;