mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 01:18:01 -05:00
fix android build
This commit is contained in:
parent
741bc93a3b
commit
63fa437386
1 changed files with 1 additions and 1 deletions
|
@ -562,7 +562,7 @@ namespace geode {
|
|||
using Ty = typename SettingTypeForValueType<T>::SettingType;
|
||||
return new EventListener(
|
||||
[callback = std::move(callback)](std::shared_ptr<SettingV3> setting) {
|
||||
if (auto ty = typeinfo_pointer_cast<Ty>(setting)) {
|
||||
if (auto ty = geode::cast::typeinfo_pointer_cast<Ty>(setting)) {
|
||||
callback(ty->getValue());
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue