mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-30 10:59:43 +08:00
fixed SelectorBase clone
This commit is contained in:
parent
ccf80e554c
commit
1bc9e0dbc2
@ -96,7 +96,7 @@ SelectorPtr SelectorBase::clone() {
|
||||
}
|
||||
|
||||
p->m_pro_sys_list.reserve(m_pro_sys_list.size());
|
||||
for (const auto& sys : m_real_sys_list) {
|
||||
for (const auto& sys : m_pro_sys_list) {
|
||||
p->m_pro_sys_list.emplace_back(sys->clone());
|
||||
}
|
||||
return p;
|
||||
|
Loading…
Reference in New Issue
Block a user