fix: Compile error due to un-unpacked expected value
This commit is contained in:
parent
90a67af887
commit
881a379fb4
@ -206,7 +206,7 @@ namespace hex::plugin::builtin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
u64 maxAddress = 0x00;
|
u64 maxAddress = 0x00;
|
||||||
for (auto &[address, bytes] : data) {
|
for (auto &[address, bytes] : data.value()) {
|
||||||
auto endAddress = (address + bytes.size()) - 1;
|
auto endAddress = (address + bytes.size()) - 1;
|
||||||
m_data.emplace({ address, endAddress }, std::move(bytes));
|
m_data.emplace({ address, endAddress }, std::move(bytes));
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ namespace hex::plugin::builtin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
u64 maxAddress = 0x00;
|
u64 maxAddress = 0x00;
|
||||||
for (auto &[address, bytes] : data) {
|
for (auto &[address, bytes] : data.value()) {
|
||||||
auto endAddress = (address + bytes.size()) - 1;
|
auto endAddress = (address + bytes.size()) - 1;
|
||||||
m_data.emplace({ address, endAddress }, std::move(bytes));
|
m_data.emplace({ address, endAddress }, std::move(bytes));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user