diff options
| author | 2023-05-07 13:28:52 -0400 | |
|---|---|---|
| committer | 2023-07-21 10:56:07 -0400 | |
| commit | cfb63c68dbdc2c8add45cddb2cedf371059af6c4 (patch) | |
| tree | 94cc37ced96d67d10a01c32d6d2ed7f7f50ba2a1 /src/common | |
| parent | settings,uisettings: Add IDs to settings (diff) | |
| download | yuzu-cfb63c68dbdc2c8add45cddb2cedf371059af6c4.tar.gz yuzu-cfb63c68dbdc2c8add45cddb2cedf371059af6c4.tar.xz yuzu-cfb63c68dbdc2c8add45cddb2cedf371059af6c4.zip | |
shared_translation: Finish using int ids
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/settings.h | 4 |
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: | |||
| 191 | virtual bool IsEnum() const = 0; | 191 | virtual bool IsEnum() const = 0; |
| 192 | virtual bool RuntimeModfiable() const = 0; | 192 | virtual bool RuntimeModfiable() const = 0; |
| 193 | virtual void SetGlobal(bool global) {} | 193 | virtual void SetGlobal(bool global) {} |
| 194 | virtual u32 Id() const = 0; | 194 | virtual constexpr u32 Id() const = 0; |
| 195 | virtual bool UsingGlobal() const { | 195 | virtual bool UsingGlobal() const { |
| 196 | return false; | 196 | return false; |
| 197 | } | 197 | } |
| @@ -423,7 +423,7 @@ public: | |||
| 423 | return std::type_index(typeid(Type)); | 423 | return std::type_index(typeid(Type)); |
| 424 | } | 424 | } |
| 425 | 425 | ||
| 426 | virtual u32 Id() const override { | 426 | virtual constexpr u32 Id() const override { |
| 427 | return id; | 427 | return id; |
| 428 | } | 428 | } |
| 429 | 429 | ||