================
@@ -449,6 +449,10 @@ class RangeDataVector {
~RangeDataVector() = default;
void Append(const Entry &entry) { m_entries.emplace_back(entry); }
+
+ void Append(const B&& b, const S&& s, const T&& t) {
----------------
mbucko wrote:
Cannot have const rvalue reference. You can either use const ref like this:
`const B& b, const S& s, const T& t`
or do a perfect forwarding with `B &&b` and then pass it into Entry like so:
`Entry(std::forward<B>(b), std::forward<S>(s), std::forward<T>(t))`
https://github.com/llvm/llvm-project/pull/105442
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits