|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66264 - in sandbox/chrono/boost/chrono: . detail/inlined/mac detail/inlined/posix
From: vicente.botet_at_[hidden]
Date: 2010-10-30 08:12:30
Author: viboes
Date: 2010-10-30 08:12:29 EDT (Sat, 30 Oct 2010)
New Revision: 66264
URL: http://svn.boost.org/trac/boost/changeset/66264
Log:
Chrono: Some fixes in Implementation of header only Boost.Chrono
Text files modified:
sandbox/chrono/boost/chrono/detail/inlined/mac/process_clock.hpp | 2 +-
sandbox/chrono/boost/chrono/detail/inlined/posix/process_clock.hpp | 2 +-
sandbox/chrono/boost/chrono/process_cpu_clocks.hpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Modified: sandbox/chrono/boost/chrono/detail/inlined/mac/process_clock.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/inlined/mac/process_clock.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/inlined/mac/process_clock.hpp 2010-10-30 08:12:29 EDT (Sat, 30 Oct 2010)
@@ -28,7 +28,7 @@
{
namespace chrono_detail
{
- long tick_factor() // multiplier to convert ticks
+ inline long tick_factor() // multiplier to convert ticks
// to nanoseconds; -1 if unknown
{
static long factor = 0;
Modified: sandbox/chrono/boost/chrono/detail/inlined/posix/process_clock.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/inlined/posix/process_clock.hpp (original)
+++ sandbox/chrono/boost/chrono/detail/inlined/posix/process_clock.hpp 2010-10-30 08:12:29 EDT (Sat, 30 Oct 2010)
@@ -21,7 +21,7 @@
namespace boost { namespace chrono {
namespace chrono_detail
{
- long tick_factor() // multiplier to convert ticks
+ inline long tick_factor() // multiplier to convert ticks
// to nanoseconds; -1 if unknown
{
static long factor = 0;
Modified: sandbox/chrono/boost/chrono/process_cpu_clocks.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/process_cpu_clocks.hpp (original)
+++ sandbox/chrono/boost/chrono/process_cpu_clocks.hpp 2010-10-30 08:12:29 EDT (Sat, 30 Oct 2010)
@@ -195,7 +195,7 @@
template <class CharT, class Traits>
std::basic_istream<CharT, Traits>&
- operator<<(std::basic_istream<CharT, Traits>& is,
+ operator>>(std::basic_istream<CharT, Traits>& is,
process_cpu_clock_times const& rhs)
{
rhs.read(is);
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