================
@@ -4592,7 +4592,8 @@ 
GDBRemoteCommunicationServerLLGS::Handle_jAcceleratorPluginInitialize(
       accelerator_actions.push_back(std::move(*actions));
   }
   StreamGDBRemote response;
-  response.PutAsJSONArray(accelerator_actions, /*hex_ascii=*/false);
+  response.PutAsJSONArray<AcceleratorActions>(accelerator_actions,
----------------
qcoelh0 wrote:

ArrayRef has an implicit constructor from std::vector, however PutAsJSONArray 
is templated on ArrayRef<T>, which AFAIK prevents type resolution through 
implicit constructors.
Let me know if known of an alternative.

https://github.com/llvm/llvm-project/pull/203175
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to