diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-30 04:31:22 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-30 04:31:22 +0000 |
commit | 6d64069608cb5e29a191ed8d2eb4d7e163aa0290 (patch) | |
tree | 9f02216ea2a0aaf7c1404e4f48dcc9e18cf151a6 /TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp | |
parent | e8a745ea70a1df43a209f25c7ecc36a397249c8f (diff) | |
download | ATCD-6d64069608cb5e29a191ed8d2eb4d7e163aa0290.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp index be6697f6c36..c96ad8746fa 100644 --- a/TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp +++ b/TAO/orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp @@ -200,7 +200,7 @@ order_offer (TAO_Constraint_Evaluator& evaluator, pref_info.offer_ = offer; pref_info.offer_id_ = offer_id; - pref_info.evaluated_ = CORBA::B_TRUE; + pref_info.evaluated_ = 1; if (evaluator.evaluate_preference (this->root_, pref_info.value_) == 0) { @@ -231,7 +231,7 @@ order_offer (TAO_Constraint_Evaluator& evaluator, offer_iter.next (current_offer); // Maintain the sorted order in the first partition. - if (current_offer->evaluated_ == CORBA::B_TRUE && + if (current_offer->evaluated_ == 1 && ((expr_type == TAO_MIN && pref_info.value_ > current_offer->value_) || (expr_type == TAO_MAX && @@ -250,7 +250,7 @@ order_offer (TAO_Constraint_Evaluator& evaluator, { // If the evaluation fails, just tack the sucker onto the // end of the queue. - pref_info.evaluated_ = CORBA::B_FALSE; + pref_info.evaluated_ = 0; this->offers_.enqueue_tail (pref_info); } } |