working long/short pos was not getting copied in copy_positions_from

This commit is contained in:
Taha Afzal committed 2020-08-03 18:25:40 -04:00
1 parent f197f213f3
commit 75f15c50d8
1 file changed
+2
@@ -189,6 +189,8 @@ public:
void copy_positions_from(const SecurityLimitNode& source){
_long_pos = source._long_pos;
_short_pos = source._short_pos;
_long_working_pos = source._long_working_pos;
_short_working_pos = source._short_working_pos;
// this operation will be repeated since multiple
// security nodes share the same product node, but
// since its a copy (and not as addition) for