|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58217 - in branches/release/libs/static_assert: . test
From: john_at_[hidden]
Date: 2009-12-07 08:23:39
Author: johnmaddock
Date: 2009-12-07 08:23:38 EST (Mon, 07 Dec 2009)
New Revision: 58217
URL: http://svn.boost.org/trac/boost/changeset/58217
Log:
Merge warning fixes from Trunk.
Added:
branches/release/libs/static_assert/test/
- copied from r58216, /trunk/libs/static_assert/test/
Properties modified:
branches/release/libs/static_assert/ (props changed)
Text files modified:
branches/release/libs/static_assert/static_assert_example_2.cpp | 2 +-
branches/release/libs/static_assert/static_assert_example_3.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: branches/release/libs/static_assert/static_assert_example_2.cpp
==============================================================================
--- branches/release/libs/static_assert/static_assert_example_2.cpp (original)
+++ branches/release/libs/static_assert/static_assert_example_2.cpp 2009-12-07 08:23:38 EST (Mon, 07 Dec 2009)
@@ -12,7 +12,7 @@
#include <boost/type_traits.hpp>
template <class RandomAccessIterator >
-RandomAccessIterator foo(RandomAccessIterator from, RandomAccessIterator to)
+RandomAccessIterator foo(RandomAccessIterator from, RandomAccessIterator /*to*/)
{
// this template can only be used with
// random access iterators...
Modified: branches/release/libs/static_assert/static_assert_example_3.cpp
==============================================================================
--- branches/release/libs/static_assert/static_assert_example_3.cpp (original)
+++ branches/release/libs/static_assert/static_assert_example_3.cpp 2009-12-07 08:23:38 EST (Mon, 07 Dec 2009)
@@ -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