mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-29 18:39:10 +08:00
移除多余变量
This commit is contained in:
parent
7c980545e0
commit
679a52edd0
@ -359,7 +359,6 @@ void KDataImp::_recoverEqualBackward() {
|
||||
Datetime end_date(m_buffer.back().datetime.date() + bd::days(1));
|
||||
StockWeightList weightList = m_stock.getWeight(start_date, end_date);
|
||||
StockWeightList::const_reverse_iterator weightIter = weightList.rbegin();
|
||||
StockWeightList::const_reverse_iterator pre_weightIter;
|
||||
|
||||
size_t pre_pos = total - 1;
|
||||
for (; weightIter != weightList.rend(); ++weightIter) {
|
||||
|
@ -208,7 +208,7 @@ if is_plat("windows") then
|
||||
end
|
||||
end
|
||||
|
||||
if not is_plat("windows") then
|
||||
if is_plat("linux", "cross", "macosx") then
|
||||
-- disable some compiler errors
|
||||
add_cxflags("-Wno-error=deprecated-declarations", "-fno-strict-aliasing")
|
||||
add_cxflags("-ftemplate-depth=1023", "-pthread")
|
||||
|
Loading…
Reference in New Issue
Block a user