Skip to content

Commit

Permalink
fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Sep 5, 2024
1 parent 741bc93 commit 63fa437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/include/Geode/loader/SettingV3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
},
Expand Down

0 comments on commit 63fa437

Please sign in to comment.