summaryrefslogtreecommitdiff
path: root/tests/Upgradable_RW_Test.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-03 20:38:55 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-03 20:38:55 +0000
commitae8ed092cd73954b32ac325d0f164b6e3b5f860c (patch)
treeeb84956a19b2e4eecad36662657f7a1190cfdd3a /tests/Upgradable_RW_Test.h
parentbc6bba88188f261b8af13e8dac6219cfd7d52fe6 (diff)
downloadATCD-ae8ed092cd73954b32ac325d0f164b6e3b5f860c.tar.gz
*** empty log message ***
Diffstat (limited to 'tests/Upgradable_RW_Test.h')
-rw-r--r--tests/Upgradable_RW_Test.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/Upgradable_RW_Test.h b/tests/Upgradable_RW_Test.h
index 687c4e4c0fe..4fd6a25a5b9 100644
--- a/tests/Upgradable_RW_Test.h
+++ b/tests/Upgradable_RW_Test.h
@@ -38,14 +38,14 @@ class Element
public:
Element (ACE_CString* item = 0, Element* p = 0, Element* n = 0)
- : item_(item), prev_(p), next_(n)
- {
- }
+ : prev_ (p), next_(n), item_(item)
+ {
+ }
ACE_CString* value (void)
- {
- return this->item_;
- }
+ {
+ return this->item_;
+ }
private:
Element* next_;
@@ -64,11 +64,11 @@ class Time_Calculation
public:
Time_Calculation ()
: reported_times_ (0)
- {
- times_.real_time = 0;
- times_.user_time = 0;
- times_.system_time = 0;
- }
+ {
+ times_.real_time = 0;
+ times_.user_time = 0;
+ times_.system_time = 0;
+ }
void report_time (ACE_Profile_Timer::ACE_Elapsed_Time &elapsed_time);
// take the time of the thread and add it to
@@ -95,9 +95,9 @@ public:
Reader_Task (Time_Calculation &time_Calculation,
ACE_Barrier &barrier)
: time_Calculation_ (time_Calculation),
- barrier_(barrier)
- {
- };
+ barrier_(barrier)
+ {
+ };
virtual int svc (void);
@@ -119,9 +119,9 @@ public:
Writer_Task (Time_Calculation &time_Calculation,
ACE_Barrier &barrier)
: time_Calculation_ (time_Calculation),
- barrier_(barrier)
- {
- };
+ barrier_(barrier)
+ {
+ };
virtual int svc (void);