summaryrefslogtreecommitdiff
path: root/ace/Sched_Params.i
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-13 17:57:39 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-13 17:57:39 +0000
commit884fa1dd58c04df2343238666c885b34ee9e3fa2 (patch)
treea015adc3ff0955a3427653dfaa9e9391ce8aceb3 /ace/Sched_Params.i
parente8e1eebcea9aaad100196a6b1d33998249e18e3f (diff)
downloadATCD-884fa1dd58c04df2343238666c885b34ee9e3fa2.tar.gz
reordered function definitions to prevent use before define
Diffstat (limited to 'ace/Sched_Params.i')
-rw-r--r--ace/Sched_Params.i24
1 files changed, 12 insertions, 12 deletions
diff --git a/ace/Sched_Params.i b/ace/Sched_Params.i
index d7e45fdf875..201b933f5f9 100644
--- a/ace/Sched_Params.i
+++ b/ace/Sched_Params.i
@@ -82,6 +82,18 @@ ACE_Sched_Params::quantum (const ACE_Time_Value &quant)
this->quantum_ = quant;
}
+ACE_INLINE const ACE_Sched_Params::Policy &
+ACE_Sched_Priority_Iterator::policy (void) const
+{
+ return this->policy_;
+}
+
+ACE_INLINE int
+ACE_Sched_Priority_Iterator::scope (void) const
+{
+ return this->scope_;
+}
+
ACE_INLINE
ACE_Sched_Priority_Iterator::ACE_Sched_Priority_Iterator (const ACE_Sched_Params::Policy &policy,
int scope)
@@ -118,15 +130,3 @@ ACE_Sched_Priority_Iterator::next (void)
this->scope ());
this->done_ = old_priority == priority_;
}
-
-ACE_INLINE const ACE_Sched_Params::Policy &
-ACE_Sched_Priority_Iterator::policy (void) const
-{
- return this->policy_;
-}
-
-ACE_INLINE int
-ACE_Sched_Priority_Iterator::scope (void) const
-{
- return this->scope_;
-}