diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2010-04-07 14:36:21 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2010-04-07 14:36:21 +0000 |
commit | c2cea821eef714f67e3633778789875d8e184f03 (patch) | |
tree | 51facd3176d249456b8ff8ffc1f6952925d221a0 /ACE/ace/Time_Value.cpp | |
parent | f3a21fcc649b7fd953b5f2b93bf7db24d55d5533 (diff) | |
download | ATCD-c2cea821eef714f67e3633778789875d8e184f03.tar.gz |
ChangeLogTag:Tue
Diffstat (limited to 'ACE/ace/Time_Value.cpp')
-rw-r--r-- | ACE/ace/Time_Value.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/ACE/ace/Time_Value.cpp b/ACE/ace/Time_Value.cpp index ccf13c80d3a..edf4ad8e1f1 100644 --- a/ACE/ace/Time_Value.cpp +++ b/ACE/ace/Time_Value.cpp @@ -340,21 +340,15 @@ ostream &operator<<(ostream &o, const ACE_Time_Value &v) { o << tv->tv_sec; if (tv->tv_usec) - { - o << '.' << std::setw (6) << ACE_STD_NAMESPACE::abs (tv->tv_usec); - } + o << '.' << std::setw (6) << ACE_STD_NAMESPACE::abs (tv->tv_usec); } else if (tv->tv_usec < 0) - { - o << "-0." << std::setw (6) << -tv->tv_usec; - } + o << "-0." << std::setw (6) << - tv->tv_usec; else { o << '0'; if (tv->tv_usec > 0) - { - o << '.'<< std::setw (6) << tv->tv_usec; - } + o << '.'<< std::setw (6) << tv->tv_usec; } o.fill (oldFiller); |