fix pointer cast type
This commit is contained in:
parent
5c0861ae0b
commit
f9e91a9298
@ -118,7 +118,7 @@ namespace MusicSelect {
|
|||||||
column.begin(),
|
column.begin(),
|
||||||
column.end(),
|
column.end(),
|
||||||
[](const std::shared_ptr<Panel>& panel) -> bool {
|
[](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;
|
found = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user