mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 07:47:56 -05: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:
@ -3,6 +3,7 @@
|
||||
|
||||
#include "yuzu/uisettings.h"
|
||||
|
||||
#ifndef _CANNOT_EXPLICITLY_INSTANTIATE
|
||||
namespace Settings {
|
||||
template class Setting<bool>;
|
||||
template class Setting<std::string>;
|
||||
@ -12,6 +13,7 @@ template class Setting<u8, true>;
|
||||
template class Setting<u8>;
|
||||
template class Setting<unsigned long long>;
|
||||
} // namespace Settings
|
||||
#endif
|
||||
|
||||
namespace UISettings {
|
||||
|
||||
|
Reference in New Issue
Block a user