================
@@ -270,10 +273,12 @@ struct Info {
 
   virtual ~Info() = default;
 
+  Info &operator=(Info &&Other) = default;
+
   SymbolID USR =
       SymbolID(); // Unique identifier for the decl described by this Info.
-  const InfoType IT = InfoType::IT_default; // InfoType of this particular 
Info.
----------------
PeterChou1 wrote:

The const implicitly deleted the move assignment operator which I need to sort 
Info vectors so I had to remove it

https://github.com/llvm/llvm-project/pull/101387
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to