From 27935b1234efda77354619d830c1413fc991079e Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 13 Mar 2026 21:01:07 +0100 Subject: [PATCH] impr: Mark SettingsVariable constructor as noexcept --- lib/libimhex/include/hex/api/content_registry/settings.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libimhex/include/hex/api/content_registry/settings.hpp b/lib/libimhex/include/hex/api/content_registry/settings.hpp index b4cc925e9..2bca5775c 100644 --- a/lib/libimhex/include/hex/api/content_registry/settings.hpp +++ b/lib/libimhex/include/hex/api/content_registry/settings.hpp @@ -353,7 +353,7 @@ EXPORT_MODULE namespace hex { requires (!(std::is_reference_v || std::is_const_v)) class SettingsVariable { public: - explicit(false) SettingsVariable(T defaultValue) : m_defaultValue(std::move(defaultValue)) { } + explicit(false) SettingsVariable(T defaultValue) noexcept : m_defaultValue(std::move(defaultValue)) { } SettingsVariable(const SettingsVariable&) = delete; SettingsVariable& operator=(const SettingsVariable&) = delete;