[Lldb-commits] [lldb] ff1658b - Fix -Wdeprecated-copy warning in XcodeSDK.
Eric Christopher via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 8 15:14:30 PDT 2020
Author: Eric Christopher
Date: 2020-04-08T15:12:53-07:00
New Revision: ff1658b167c835ca55f554a3ad5aac444a6f9c9c
URL: https://github.com/llvm/llvm-project/commit/ff1658b167c835ca55f554a3ad5aac444a6f9c9c
DIFF: https://github.com/llvm/llvm-project/commit/ff1658b167c835ca55f554a3ad5aac444a6f9c9c.diff
LOG: Fix -Wdeprecated-copy warning in XcodeSDK.
Added:
Modified:
lldb/include/lldb/Utility/XcodeSDK.h
Removed:
################################################################################
diff --git a/lldb/include/lldb/Utility/XcodeSDK.h b/lldb/include/lldb/Utility/XcodeSDK.h
index 9b9f1d226bf0..b186ab4a7091 100644
--- a/lldb/include/lldb/Utility/XcodeSDK.h
+++ b/lldb/include/lldb/Utility/XcodeSDK.h
@@ -45,6 +45,7 @@ class XcodeSDK {
void Merge(XcodeSDK other);
XcodeSDK &operator=(XcodeSDK other);
+ XcodeSDK(const XcodeSDK&) = default;
bool operator==(XcodeSDK other);
/// Return parsed SDK number, and SDK version number.
More information about the lldb-commits
mailing list