Skip to content

Commit

Permalink
Strategy: Changes param order for SetIndicator()
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 28, 2021
1 parent 45bc099 commit 8e05736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Strategy.struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ struct StgParams {
}
}
void SetId(long _id) { id = _id; }
void SetIndicator(Indicator *_indi, bool _managed = true, int _id = 0) {
void SetIndicator(Indicator *_indi, int _id = 0, bool _managed = true) {
if (_managed) {
Ref<Indicator> _ref = _indi;
indicators_managed.Set(_id, _ref);
Expand Down

0 comments on commit 8e05736

Please sign in to comment.