Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77837 - trunk/boost/chrono/detail/inlined/win
From: vicente.botet_at_[hidden]
Date: 2012-04-08 15:08:54


Author: viboes
Date: 2012-04-08 15:08:54 EDT (Sun, 08 Apr 2012)
New Revision: 77837
URL: http://svn.boost.org/trac/boost/changeset/77837

Log:
Chrono: Fix a warning
Text files modified:
   trunk/boost/chrono/detail/inlined/win/chrono.hpp | 1 +
   1 files changed, 1 insertions(+), 0 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 2012-04-08 15:08:54 EDT (Sun, 08 Apr 2012)
@@ -42,6 +42,7 @@
             (!boost::detail::win32::QueryPerformanceCounter( &pcount )) )
     {
       BOOST_ASSERT(0 && "Boost::Chrono - Internal Error");
+ return steady_clock::time_point();
     }
 
     return steady_clock::time_point(steady_clock::duration(


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