summaryrefslogtreecommitdiffstats
path: root/src/common/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/settings.h')
-rw-r--r--src/common/settings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index 69777421e..a90fc87a7 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -191,7 +191,7 @@ public:
virtual bool IsEnum() const = 0;
virtual bool RuntimeModfiable() const = 0;
virtual void SetGlobal(bool global) {}
- virtual u32 Id() const = 0;
+ virtual constexpr u32 Id() const = 0;
virtual bool UsingGlobal() const {
return false;
}
@@ -423,7 +423,7 @@ public:
return std::type_index(typeid(Type));
}
- virtual u32 Id() const override {
+ virtual constexpr u32 Id() const override {
return id;
}