|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83843 - trunk/boost/chrono/detail/inlined/win
From: vicente.botet_at_[hidden]
Date: 2013-04-11 02:01:06
Author: viboes
Date: 2013-04-11 02:01:06 EDT (Thu, 11 Apr 2013)
New Revision: 83843
URL: http://svn.boost.org/trac/boost/changeset/83843
Log:
Chrono: cleanup.
Text files modified:
trunk/boost/chrono/detail/inlined/win/chrono.hpp | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
Modified: trunk/boost/chrono/detail/inlined/win/chrono.hpp
==============================================================================
--- trunk/boost/chrono/detail/inlined/win/chrono.hpp (original)
+++ trunk/boost/chrono/detail/inlined/win/chrono.hpp 2013-04-11 02:01:06 EDT (Thu, 11 Apr 2013)
@@ -132,13 +132,6 @@
std::time_t system_clock::to_time_t(const system_clock::time_point& t) BOOST_NOEXCEPT
{
__int64 temp = t.time_since_epoch().count();
-
- # if (!defined( BOOST_MSVC )) || (BOOST_MSVC > 1300) // > VC++ 7.0
- //temp -= 116444736000000000LL; // delta from epoch in microseconds
- # else
- //temp -= 116444736000000000LL;
- # endif
-
temp /= 10000000;
return static_cast<std::time_t>( temp );
}
@@ -148,13 +141,6 @@
{
__int64 temp = t;
temp *= 10000000;
-
- # if (!defined( BOOST_MSVC )) || (BOOST_MSVC > 1300) // > VC++ 7.0
- //temp += 116444736000000000LL;
- # else
- //temp += 116444736000000000LL;
- # endif
-
return time_point(duration(temp));
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk