mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-11 22:27:52 +00:00
common,yuzu-qt: Avoid explicit instantiation on old clang
Clang versions < 15 have compile issues with explicit instantiation. Disable it for these versions.
This commit is contained in:
parent
c2b577b364
commit
a7a32ab8a0
6 changed files with 22 additions and 3 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue