From ebf563e313fcdf5186a646e8ca0a1161618dc627 Mon Sep 17 00:00:00 2001 From: Elias Bachaalany Date: Tue, 21 Jan 2025 21:43:42 -0800 Subject: [PATCH] fix1 --- src/common/utils/function.hpp | 2 +- src/windows-emulator/windows_emulator.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/utils/function.hpp b/src/common/utils/function.hpp index 0f6d3dee..46848597 100644 --- a/src/common/utils/function.hpp +++ b/src/common/utils/function.hpp @@ -40,7 +40,7 @@ namespace utils } } } - explicit operator bool() const + explicit operator bool() const noexcept { return static_cast(func); } diff --git a/src/windows-emulator/windows_emulator.hpp b/src/windows-emulator/windows_emulator.hpp index a62b53c6..2f524a07 100644 --- a/src/windows-emulator/windows_emulator.hpp +++ b/src/windows-emulator/windows_emulator.hpp @@ -13,7 +13,7 @@ std::unique_ptr create_default_x64_emulator(); struct emulator_callbacks { - utils::optional_function stdout_callback{}; + utils::optional_function stdout_callback{}; utils::optional_function inline_syscall{};