Author: Adrian Prantl
Date: 2020-04-10T10:34:44-07:00
New Revision: f5be71b44500b18d636b1f540422dda4012ac192

URL: 
https://github.com/llvm/llvm-project/commit/f5be71b44500b18d636b1f540422dda4012ac192
DIFF: 
https://github.com/llvm/llvm-project/commit/f5be71b44500b18d636b1f540422dda4012ac192.diff

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

Added: 
    

Modified: 
    lldb/source/Utility/XcodeSDK.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Utility/XcodeSDK.cpp 
b/lldb/source/Utility/XcodeSDK.cpp
index f2403f10de55..7ad0090f85e2 100644
--- a/lldb/source/Utility/XcodeSDK.cpp
+++ b/lldb/source/Utility/XcodeSDK.cpp
@@ -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 {


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to