Hidden quoter field exposed

This commit is contained in:
Taha Afzal committed 2018-08-20 17:46:01 -04:00
1 parent 8e792fbd12
commit c59589bc9f
2 files changed
+4

No files matched your search

@@ -16,6 +16,8 @@ SingleLegQuoter::SingleLegQuoter(ISpreaderManager& spreader,
:
_two_legged (n_spreader_legs == 2),
_active_quoting(this_leg_property.is_active_quoting()),
_hidden_order(this_leg_property.leg_params().has_quote_params() &&
this_leg_property.leg_params().quote_params().has_quote_hidden()),
_spreader(spreader),
_this_leg_data (this_leg_property),
_n_spreader_legs (n_spreader_legs),
@@ -44,6 +46,7 @@ SingleLegQuoter::SingleLegQuoter(SingleLegQuoter&& other)
:
_two_legged (other._two_legged),
_active_quoting(other._active_quoting),
_hidden_order(other._hidden_order),
_spreader(other._spreader),
_this_leg_data (other._this_leg_data),
_n_spreader_legs (other._n_spreader_legs),
@@ -39,6 +39,7 @@ friend QuoterEndStateWorker;
private:
const bool _two_legged;
const bool _active_quoting;
const bool _hidden_order;
ISpreaderManager& _spreader;
const LegPropertyData& _this_leg_data;
const size_t _n_spreader_legs;