diff options
author | Brad King <brad.king@kitware.com> | 2021-06-16 14:53:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-16 17:22:32 (GMT) |
commit | aabc3ca47d51731e247300e4a6159f41e9dcb17c (patch) | |
tree | dfbc626fa1439840d88dbefb92b59e47d4d97dc8 /Source/cmGlobalVisualStudioVersionedGenerator.h | |
parent | e66a7fe07b117362120ae62826eb51c189f39c40 (diff) | |
download | CMake-aabc3ca47d51731e247300e4a6159f41e9dcb17c.zip CMake-aabc3ca47d51731e247300e4a6159f41e9dcb17c.tar.gz CMake-aabc3ca47d51731e247300e4a6159f41e9dcb17c.tar.bz2 |
cmGlobalVisualStudio10Generator: Adopt GetVSInstanceVersion method
Port from `cmGlobalVisualStudioVersionedGenerator`.
Diffstat (limited to 'Source/cmGlobalVisualStudioVersionedGenerator.h')
-rw-r--r-- | Source/cmGlobalVisualStudioVersionedGenerator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioVersionedGenerator.h b/Source/cmGlobalVisualStudioVersionedGenerator.h index cee129e..105e495 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; |