mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-03 05:57:40 -05:00
impr: Replace hex::unused with std::ignore
This commit is contained in:
@@ -185,7 +185,9 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
void IntelHexProvider::writeRaw(u64 offset, const void *buffer, size_t size) {
|
||||
hex::unused(offset, buffer, size);
|
||||
std::ignore = offset;
|
||||
std::ignore = buffer;
|
||||
std::ignore = size;
|
||||
}
|
||||
|
||||
u64 IntelHexProvider::getActualSize() const {
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace hex::plugin::builtin {
|
||||
};
|
||||
|
||||
auto read = process_vm_readv(m_processId, &local, 1, &remote, 1, 0);
|
||||
hex::unused(read);
|
||||
std::ignore = read;
|
||||
#endif
|
||||
}
|
||||
void ProcessMemoryProvider::writeRaw(u64 address, const void *buffer, size_t size) {
|
||||
@@ -107,7 +107,7 @@ namespace hex::plugin::builtin {
|
||||
};
|
||||
|
||||
auto write = process_vm_writev(m_processId, &local, 1, &remote, 1, 0);
|
||||
hex::unused(write);
|
||||
std::ignore = write;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user