mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 12:05:58 +08:00
使用static_pointer_cast优化性能
This commit is contained in:
@@ -143,7 +143,7 @@ public:
|
||||
}
|
||||
|
||||
EventPoller::Ptr getPoller() {
|
||||
return dynamic_pointer_cast<EventPoller>(getExecutor());
|
||||
return static_pointer_cast<EventPoller>(getExecutor());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user