diff options
author | Steve Huston <shuston@riverace.com> | 1998-06-30 18:59:25 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1998-06-30 18:59:25 +0000 |
commit | 672add90c8655fbe583261d7947ff8c1f26580d4 (patch) | |
tree | 37e7281d873ce893649c226925dab0c8fd51557c /ace/Message_Queue_T.cpp | |
parent | c4f6973c8aca852e04e85549fb1adedc6eaa9898 (diff) | |
download | ATCD-672add90c8655fbe583261d7947ff8c1f26580d4.tar.gz |
Fixed priority_eval_func_ptr references.... well, they compile. I don't know if
they work right or not.
Diffstat (limited to 'ace/Message_Queue_T.cpp')
-rw-r--r-- | ace/Message_Queue_T.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Message_Queue_T.cpp b/ace/Message_Queue_T.cpp index c13b1738425..5fa605ef6d3 100644 --- a/ace/Message_Queue_T.cpp +++ b/ace/Message_Queue_T.cpp @@ -762,7 +762,7 @@ ACE_Dynamic_Message_Queue<ACE_SYNCH_USE>::enqueue_i (ACE_Message_Block *new_item ACE_Time_Value tv(0); // refresh dynamic priority of the new message - result = (*priority_eval_func_ptr_) (*new_item, tv); + result = this->message_strategy_.update_priority (*new_item, tv); // get the current time ACE_Time_Value current_time = ACE_OS::gettimeofday (); @@ -839,7 +839,7 @@ ACE_Dynamic_Message_Queue<ACE_SYNCH_USE>::refresh_priorities (const ACE_Time_Val ACE_Message_Block *temp = ACE_Message_Queue<ACE_SYNCH_USE>::head_; while (temp) { - result = (*priority_eval_func_ptr_) (*temp, tv); + result = this->message_strategy_.update_priority (*temp, tv); if (result < 0) { break; |