summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragg1 <agg1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-25 02:22:35 +0000
committeragg1 <agg1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-25 02:22:35 +0000
commit4a44ea2c64dfdb3ee0f4c42d1050462976c0224f (patch)
treea9930cbd1cc2194a80a4b1c983c1023bf70774d1
parent900b06dc93ca90328b34e2ca3de5e6c05968baa9 (diff)
downloadATCD-4a44ea2c64dfdb3ee0f4c42d1050462976c0224f.tar.gz
Mon Jul 24 21:21:17 2000 Andrew G. Gilpin <agg1@cs.wustl.edu>
-rw-r--r--ace/Priority_Reactor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Priority_Reactor.cpp b/ace/Priority_Reactor.cpp
index 7e4c097abce..fd66ba55e7d 100644
--- a/ace/Priority_Reactor.cpp
+++ b/ace/Priority_Reactor.cpp
@@ -16,8 +16,8 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Priority_Reactor)
// Initialize ACE_Select_Reactor.
-const int npriorities =
- ACE_Event_Handler::HI_PRIORITY - ACE_Event_Handler::LO_PRIORITY + 1;
+#define npriorities \
+ ACE_Event_Handler::HI_PRIORITY-ACE_Event_Handler::LO_PRIORITY+1
void
ACE_Priority_Reactor::init_bucket (void)