]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/timer.hpp
attempt to make LyX linkable without NLS, assuming dummy available() should return...
[lyx.git] / boost / boost / timer.hpp
index 042bf52e60394387d1df0b4f4a863b5a71fab07e..1e3571e4177609c687dec469ee074dc49def4f6f 100644 (file)
@@ -1,7 +1,8 @@
 //  boost timer.hpp header file  ---------------------------------------------//
 
-//  Copyright Beman Dawes 1994-99.
-//  See accompanying license for terms and conditions of use.
+//  Copyright Beman Dawes 1994-99.  Distributed under the Boost
+//  Software License, Version 1.0. (See accompanying file
+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 //  See http://www.boost.org/libs/timer for documentation.
 
@@ -55,7 +56,7 @@ class timer
   // Portability warning: elapsed_max() may return too high a value on systems
   // where std::clock_t overflows or resets at surprising values.
   {
-    return (double(std::numeric_limits<std::clock_t>::max())
+    return (double((std::numeric_limits<std::clock_t>::max)())
        - double(_start_time)) / double(CLOCKS_PER_SEC); 
   }