internal: refactor to use empty() (#10599)
This commit is contained in:
parent
4078e1d17c
commit
69c2b2926e
20 changed files with 57 additions and 57 deletions
|
|
@ -167,7 +167,7 @@ bool CFunctionHook::hook() {
|
|||
|
||||
const auto PROBEFIXEDASM = fixInstructionProbeRIPCalls(probe);
|
||||
|
||||
if (PROBEFIXEDASM.bytes.size() == 0) {
|
||||
if (PROBEFIXEDASM.bytes.empty()) {
|
||||
Debug::log(ERR, "[functionhook] failed, unsupported asm / failed assembling:\n{}", probe.assembly);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue