mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-15 03:25:01 -05:00
fix build on clang
This commit is contained in:
parent
8fabdf545e
commit
82d86782fb
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ void FiltersPopup::onLoadTags(typename server::ServerRequest<std::unordered_set<
|
|||
|
||||
void FiltersPopup::onToggle(CCObject* sender) {
|
||||
auto toggle = static_cast<CCMenuItemToggler*>(sender);
|
||||
auto enabled = static_cast<bool(*)(ModListSource*)>(toggle->getUserData())(m_source);
|
||||
auto enabled = reinterpret_cast<bool(*)(ModListSource*)>(toggle->getUserData())(m_source);
|
||||
toggle->toggle(enabled);
|
||||
}
|
||||
void FiltersPopup::updateTags() {
|
||||
|
|
Loading…
Reference in a new issue