summaryrefslogtreecommitdiff
path: root/src/yuzu/uisettings.h
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-10 23:40:39 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 10:56:54 -0400
commit04d4b6ab802a1238eaca6c0a16d1a739503b81d9 (patch)
tree2e4c850092b6d6f5f50e3a6a648a217e3c7a283c /src/yuzu/uisettings.h
parent02265f19d996f7266da7c4cba5c9d93ab3727f9f (diff)
(ui,)settings: Use explicit instantiation
Reduces compile times a tad on clang.
Diffstat (limited to 'src/yuzu/uisettings.h')
-rw-r--r--src/yuzu/uisettings.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h
index a734513ea..2152b0b3b 100644
--- a/src/yuzu/uisettings.h
+++ b/src/yuzu/uisettings.h
@@ -17,6 +17,16 @@
using Settings::Category;
using Settings::Setting;
+namespace Settings {
+extern template class Setting<bool>;
+extern template class Setting<std::string>;
+extern template class Setting<u16, true>;
+extern template class Setting<u32>;
+extern template class Setting<u8, true>;
+extern template class Setting<u8>;
+extern template class Setting<unsigned long long>;
+} // namespace Settings
+
namespace UISettings {
bool IsDarkTheme();