Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57495 - trunk/libs/static_assert
From: john_at_[hidden]
Date: 2009-11-08 13:59:25


Author: johnmaddock
Date: 2009-11-08 13:59:24 EST (Sun, 08 Nov 2009)
New Revision: 57495
URL: http://svn.boost.org/trac/boost/changeset/57495

Log:
Fix gcc warning.
Text files modified:
   trunk/libs/static_assert/static_assert_example_2.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/static_assert/static_assert_example_2.cpp
==============================================================================
--- trunk/libs/static_assert/static_assert_example_2.cpp (original)
+++ trunk/libs/static_assert/static_assert_example_2.cpp 2009-11-08 13:59:24 EST (Sun, 08 Nov 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...


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