Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50371 - in trunk/libs/static_assert: . doc
From: john_at_[hidden]
Date: 2008-12-23 07:03:44


Author: johnmaddock
Date: 2008-12-23 07:03:43 EST (Tue, 23 Dec 2008)
New Revision: 50371
URL: http://svn.boost.org/trac/boost/changeset/50371

Log:
Fix inclusion of incorrect header.
Fixes #2537.
Text files modified:
   trunk/libs/static_assert/doc/static_assert.qbk | 2 +-
   trunk/libs/static_assert/static_assert_example_3.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/static_assert/doc/static_assert.qbk
==============================================================================
--- trunk/libs/static_assert/doc/static_assert.qbk (original)
+++ trunk/libs/static_assert/doc/static_assert.qbk 2008-12-23 07:03:43 EST (Tue, 23 Dec 2008)
@@ -131,7 +131,7 @@
 at least 16-bits of precision as a template argument, we can achieve this
 using something like this:
 
- #include <climits>
+ #include <limits>
    #include <boost/static_assert.hpp>
 
    template <class UnsignedInt>

Modified: trunk/libs/static_assert/static_assert_example_3.cpp
==============================================================================
--- trunk/libs/static_assert/static_assert_example_3.cpp (original)
+++ trunk/libs/static_assert/static_assert_example_3.cpp 2008-12-23 07:03:43 EST (Tue, 23 Dec 2008)
@@ -5,7 +5,7 @@
 
 // See http://www.boost.org for most recent version including documentation.
 
-#include <climits>
+#include <limits>
 #include <boost/limits.hpp>
 #include <boost/static_assert.hpp>
 


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