Attempt to fix a compile error reported with older compilers and libstdc++

This commit is contained in:
Adrian Prantl 2020-04-10 10:34:08 -07:00
parent a6732069ee
commit f5be71b445
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ std::tuple<XcodeSDK::Type, llvm::VersionTuple> XcodeSDK::Parse() const {
llvm::StringRef input(m_name);
XcodeSDK::Type sdk = ParseSDKName(input);
llvm::VersionTuple version = ParseSDKVersion(input);
return {sdk, version};
return std::make_tuple<XcodeSDK::Type, llvm::VersionTuple>(
std::move(sdk), std::move(version));
}
llvm::VersionTuple XcodeSDK::GetVersion() const {