diff --git a/src/server/sparkd/orderman/limiter/ProductLimitTree.h b/src/server/sparkd/orderman/limiter/ProductLimitTree.h index a0bebf1e4..d6c609130 100644 --- a/src/server/sparkd/orderman/limiter/ProductLimitTree.h +++ b/src/server/sparkd/orderman/limiter/ProductLimitTree.h @@ -16,14 +16,14 @@ class ProductLimitTree{ public: class ProductAccountLimitState{ private: - const int _account_id, _parent_account_id; + const int _account_id; // _parent_account_id; const bts::api::admin::AccountProductPositionLimitUnit& _limit; uint32_t _long_pos, _short_pos; public: - ProductAccountLimitState(int account_id, int parent_account_id, const bts::api::admin::AccountProductPositionLimitUnit& limit) + ProductAccountLimitState(int account_id, int /* parent_account_id */, const bts::api::admin::AccountProductPositionLimitUnit& limit) : _account_id(account_id), - _parent_account_id(parent_account_id), + //_parent_account_id(parent_account_id), _limit(limit), _long_pos(0), _short_pos(0) @@ -120,4 +120,4 @@ public: return true; } }; -}} \ No newline at end of file +}} diff --git a/src/server/sparkd/orderman/limiter/SecurityLimitTree.h b/src/server/sparkd/orderman/limiter/SecurityLimitTree.h index 6750adf57..1135b96f4 100644 --- a/src/server/sparkd/orderman/limiter/SecurityLimitTree.h +++ b/src/server/sparkd/orderman/limiter/SecurityLimitTree.h @@ -17,17 +17,17 @@ class SecurityLimitTree{ public: class SecurityAccountLimitState{ private: - const int _account_id, _parent_account_id; + const int _account_id; // _parent_account_id; const bts::api::admin::AccountSecurityPositionLimitUnit& _limit; const uint32_t _long_pos_limit, _short_pos_limit; ProductLimitTree::ProductAccountLimitState& _product_limit_state; uint32_t _long_pos, _short_pos; public: - SecurityAccountLimitState(int account_id, int parent_account_id, const bts::api::admin::AccountSecurityPositionLimitUnit& limit, + SecurityAccountLimitState(int account_id, int /* parent_account_id */, const bts::api::admin::AccountSecurityPositionLimitUnit& limit, ProductLimitTree::ProductAccountLimitState& product_limit) : _account_id(account_id), - _parent_account_id(parent_account_id), + //_parent_account_id(parent_account_id), _limit(limit), _long_pos_limit (limit.long_position_limit()), _short_pos_limit (limit.short_position_limit()), @@ -137,4 +137,4 @@ public: return nullptr; } }; -}} \ No newline at end of file +}}