Boost logo

Boost-Commit :

From: fmhess_at_[hidden]
Date: 2007-06-07 16:28:00


Author: fmhess
Date: 2007-06-07 16:27:59 EDT (Thu, 07 Jun 2007)
New Revision: 4492
URL: http://svn.boost.org/trac/boost/changeset/4492

Log:
Fix for some unused parameter warnings, from
David Matz <david.matz_at_[hidden]>

Text files modified:
   sandbox/boost/thread_safe_signals/detail/signal_template.hpp | 2 +-
   sandbox/boost/thread_safe_signals/single_threaded.hpp | 3 +--
   2 files changed, 2 insertions(+), 3 deletions(-)

Modified: sandbox/boost/thread_safe_signals/detail/signal_template.hpp
==============================================================================
--- sandbox/boost/thread_safe_signals/detail/signal_template.hpp (original)
+++ sandbox/boost/thread_safe_signals/detail/signal_template.hpp 2007-06-07 16:27:59 EDT (Thu, 07 Jun 2007)
@@ -262,7 +262,7 @@
 #undef BOOST_SIGNAL_MISC_STATEMENT
                                 private:
                                         result_type m_invoke(const connection_body_type &connectionBody,
- const signalslib::detail::unusable *resolver) const
+ const signalslib::detail::unusable *) const
                                         {
                                                 connectionBody->slot.slot_function()(BOOST_SIGNAL_SIGNATURE_ARG_NAMES(BOOST_SIGNALS_NUM_ARGS));
                                                 return signalslib::detail::unusable();

Modified: sandbox/boost/thread_safe_signals/single_threaded.hpp
==============================================================================
--- sandbox/boost/thread_safe_signals/single_threaded.hpp (original)
+++ sandbox/boost/thread_safe_signals/single_threaded.hpp 2007-06-07 16:27:59 EDT (Thu, 07 Jun 2007)
@@ -23,9 +23,8 @@
                         class null_scoped_lock
                         {
                         public:
- null_scoped_lock(const null_mutex &mutex)
+ null_scoped_lock(null_mutex &)
                                 {}
- bool locked() const {return true;}
                         };
                         class null_mutex
                         {


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