Skip to content

Commit

Permalink
compile error on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Apr 11, 2024
1 parent d91874e commit 790692f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hikyuu_cpp/hikyuu/indicator/imp/IResult.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void IResult::_calculate(const Indicator& ind) {
}

Indicator HKU_API RESULT(int result_ix) {
return make_shared<IResult>(result_ix);
return Indicator(make_shared<IResult>(result_ix));
}

} // namespace hku

0 comments on commit 790692f

Please sign in to comment.