[Lldb-commits] [lldb] [LLDB][SBSaveCore] Add selectable memory regions to SBSaveCore (PR #105442)
Miro Bucko via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 21 09:27:00 PDT 2024
================
@@ -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
More information about the lldb-commits
mailing list