1
0
mirror of synced 2025-02-02 12:27:20 +01:00

fix pointer cast type

This commit is contained in:
Stepland 2020-03-04 00:22:59 +01:00
parent 5c0861ae0b
commit f9e91a9298

View File

@ -118,7 +118,7 @@ namespace MusicSelect {
column.begin(),
column.end(),
[](const std::shared_ptr<Panel>& panel) -> bool {
return std::dynamic_cast<CategoryPanel*>(panel.get()) != nullptr;
return std::dynamic_pointer_cast<CategoryPanel>(panel) != nullptr;
}
)) {
found = true;