|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81031 - trunk/boost/optional
From: vicente.botet_at_[hidden]
Date: 2012-10-21 02:30:05
Author: viboes
Date: 2012-10-21 02:30:04 EDT (Sun, 21 Oct 2012)
New Revision: 81031
URL: http://svn.boost.org/trac/boost/changeset/81031
Log:
Optional: fix some unused parameter warnings
Text files modified:
trunk/boost/optional/optional.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/optional/optional.hpp
==============================================================================
--- trunk/boost/optional/optional.hpp (original)
+++ trunk/boost/optional/optional.hpp 2012-10-21 02:30:04 EDT (Sun, 21 Oct 2012)
@@ -890,12 +890,12 @@
template<class T>
inline
-bool operator == ( none_t x, optional<T> const& y )
+bool operator == ( none_t , optional<T> const& y )
{ return equal_pointees(optional<T>() ,y); }
template<class T>
inline
-bool operator < ( none_t x, optional<T> const& y )
+bool operator < ( none_t , optional<T> const& y )
{ return less_pointees(optional<T>() ,y); }
template<class T>
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