1
0
mirror of synced 2024-11-24 15:50:16 +01:00

fix: Compile error due to un-unpacked expected value

This commit is contained in:
WerWolv 2024-05-10 23:02:39 +02:00
parent 90a67af887
commit 881a379fb4
2 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ namespace hex::plugin::builtin {
}
u64 maxAddress = 0x00;
for (auto &[address, bytes] : data) {
for (auto &[address, bytes] : data.value()) {
auto endAddress = (address + bytes.size()) - 1;
m_data.emplace({ address, endAddress }, std::move(bytes));

View File

@ -185,7 +185,7 @@ namespace hex::plugin::builtin {
}
u64 maxAddress = 0x00;
for (auto &[address, bytes] : data) {
for (auto &[address, bytes] : data.value()) {
auto endAddress = (address + bytes.size()) - 1;
m_data.emplace({ address, endAddress }, std::move(bytes));