diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-07-07 00:19:33 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-07-07 00:19:33 +0000 |
commit | 9a23c6d79ba49e1300845ed6c413173f912fbad0 (patch) | |
tree | 6d7a10ebc1b49d9a7d3ff34d4584bc2185e8f978 /ace/Time_Value.inl | |
parent | bfd9c9700c86f70ed0cc0875c2ddad87fee85f92 (diff) | |
download | ATCD-9a23c6d79ba49e1300845ed6c413173f912fbad0.tar.gz |
ChangeLogTag:Sat Jul 06 19:32:40 2002 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'ace/Time_Value.inl')
-rw-r--r-- | ace/Time_Value.inl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/Time_Value.inl b/ace/Time_Value.inl index c70461c0a91..1518b139e0e 100644 --- a/ace/Time_Value.inl +++ b/ace/Time_Value.inl @@ -165,7 +165,8 @@ ACE_Time_Value::ACE_Time_Value (const ACE_Time_Value &tv) ACE_INLINE ACE_Time_Value & ACE_Time_Value::operator *= (double d) { - double time = ((double) this->sec ()) * ACE_ONE_SECOND_IN_USECS + this->usec (); + double time = + ((double) this->sec ()) * ACE_ONE_SECOND_IN_USECS + this->usec (); time *= d; this->sec ((long)(time / ACE_ONE_SECOND_IN_USECS)); this->usec (((long)time) % ACE_ONE_SECOND_IN_USECS); |