diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-18 19:57:14 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 10:56:55 -0400 |
commit | 3f0cc544cf7184adacec22aedd81f6d796bbea31 (patch) | |
tree | 16bb9ab8dc1b20fe4767a6f0bf94954f8cfad7d6 /src/yuzu/uisettings.h | |
parent | c97cbd089b371ed07234c66633f105862462826a (diff) |
common,yuzu-qt: Avoid explicit instantiation on old clang
Clang versions < 15 have compile issues with explicit instantiation.
Disable it for these versions.
Diffstat (limited to 'src/yuzu/uisettings.h')
-rw-r--r-- | src/yuzu/uisettings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h index 2152b0b3b..08049f9c4 100644 --- a/src/yuzu/uisettings.h +++ b/src/yuzu/uisettings.h @@ -17,6 +17,7 @@ using Settings::Category; using Settings::Setting; +#ifndef _CANNOT_EXPLICITLY_INSTANTIATE namespace Settings { extern template class Setting<bool>; extern template class Setting<std::string>; @@ -26,6 +27,7 @@ extern template class Setting<u8, true>; extern template class Setting<u8>; extern template class Setting<unsigned long long>; } // namespace Settings +#endif namespace UISettings { |