Fix -Wdeprecated-copy warning in XcodeSDK.
authorEric Christopher <echristo@gmail.com>
Wed, 8 Apr 2020 22:12:53 +0000 (15:12 -0700)
committerEric Christopher <echristo@gmail.com>
Wed, 8 Apr 2020 22:12:53 +0000 (15:12 -0700)
lldb/include/lldb/Utility/XcodeSDK.h

index 9b9f1d2..b186ab4 100644 (file)
@@ -45,6 +45,7 @@ public:
   void Merge(XcodeSDK other);
 
   XcodeSDK &operator=(XcodeSDK other);
+  XcodeSDK(const XcodeSDK&) = default;
   bool operator==(XcodeSDK other);
 
   /// Return parsed SDK number, and SDK version number.