Fix more warnings

This commit is contained in:
momo5502
2025-03-18 20:52:23 +01:00
parent bf01b125ac
commit df4208c34d
7 changed files with 28 additions and 19 deletions

View File

@@ -292,7 +292,7 @@ void windows_emulator::perform_thread_switch()
bool windows_emulator::activate_thread(const uint32_t id)
{
const auto thread = get_thread_by_id(this->process, id);
auto* thread = get_thread_by_id(this->process, id);
if (!thread)
{
return false;
@@ -576,6 +576,7 @@ void windows_emulator::deserialize(utils::buffer_deserializer& buffer)
this->dispatcher.deserialize(buffer);
}
// NOLINTNEXTLINE(readability-convert-member-functions-to-static)
void windows_emulator::save_snapshot()
{
throw std::runtime_error("Not supported");
@@ -591,6 +592,7 @@ void windows_emulator::save_snapshot()
// this->process_snapshot_ = this->process;*/
}
// NOLINTNEXTLINE(readability-convert-member-functions-to-static)
void windows_emulator::restore_snapshot()
{
throw std::runtime_error("Not supported");