impr: Mark SettingsVariable constructor as noexcept

This commit is contained in:
WerWolv
2026-03-13 21:01:07 +01:00
parent ea0b97a066
commit 27935b1234

View File

@@ -353,7 +353,7 @@ EXPORT_MODULE namespace hex {
requires (!(std::is_reference_v<T> || std::is_const_v<T>))
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;