|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65578 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2010-09-24 14:19:39
Author: chenry
Date: 2010-09-24 14:19:29 EDT (Fri, 24 Sep 2010)
New Revision: 65578
URL: http://svn.boost.org/trac/boost/changeset/65578
Log:
fixed warning messages with gcc
Text files modified:
trunk/boost/msm/back/history_policies.hpp | 6 +++---
trunk/boost/msm/back/metafunctions.hpp | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/msm/back/history_policies.hpp
==============================================================================
--- trunk/boost/msm/back/history_policies.hpp (original)
+++ trunk/boost/msm/back/history_policies.hpp 2010-09-24 14:19:29 EDT (Fri, 24 Sep 2010)
@@ -36,7 +36,7 @@
}
// returns the state where the state machine should be at start
template <class Event>
- int* const history_entry(Event const& )
+ const int* history_entry(Event const& )
{
// always come back to the original state
return m_initialStates;
@@ -77,7 +77,7 @@
}
// returns the state where the state machine should be at start
template <class Event>
- int* const history_entry(Event const& )
+ const int* history_entry(Event const& )
{
// always load back the last active state
return m_initialStates;
@@ -121,7 +121,7 @@
}
// returns the state where the state machine should be at start
template <class Event>
- int* const history_entry(Event const&)
+ const int* history_entry(Event const&)
{
if ( ::boost::mpl::contains<Events,Event>::value)
{
Modified: trunk/boost/msm/back/metafunctions.hpp
==============================================================================
--- trunk/boost/msm/back/metafunctions.hpp (original)
+++ trunk/boost/msm/back/metafunctions.hpp 2010-09-24 14:19:29 EDT (Fri, 24 Sep 2010)
@@ -648,7 +648,7 @@
inline
typename ::boost::disable_if<typename ::boost::mpl::and_<typename is_composite_state<FSM>::type,
typename is_pseudo_exit<StateType>::type>,bool >::type
-is_exit_state_active(FSM& fsm)
+is_exit_state_active(FSM&)
{
return false;
}
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