impr: Less unnecessary copying

This commit is contained in:
WerWolv
2025-10-17 23:23:48 +02:00
parent 8d4415fe15
commit 59f9da59e2
2 changed files with 20 additions and 20 deletions

View File

@@ -336,7 +336,7 @@ namespace hex::magic {
if (pattern->matches(bytes)) {
foundCorrectType = true;
magicOffset = *address;
magicOffset = address;
}
}
}