|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72022 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2011-05-17 14:37:01
Author: chenry
Date: 2011-05-17 14:37:01 EDT (Tue, 17 May 2011)
New Revision: 72022
URL: http://svn.boost.org/trac/boost/changeset/72022
Log:
fixed gcc warnings
Text files modified:
trunk/boost/msm/back/any_event.hpp | 2 ++
trunk/boost/msm/back/fold_to_list.hpp | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/msm/back/any_event.hpp
==============================================================================
--- trunk/boost/msm/back/any_event.hpp (original)
+++ trunk/boost/msm/back/any_event.hpp 2011-05-17 14:37:01 EDT (Tue, 17 May 2011)
@@ -19,12 +19,14 @@
class placeholder
{
public:
+ virtual ~placeholder(){}
virtual ::boost::msm::back::HandledEnum process_event() const =0;
};
template<class EventType,class FsmType>
class holder : public placeholder
{
public:
+ virtual ~holder(){}
holder(EventType const& evt, FsmType& fsm){}
virtual ::boost::msm::back::HandledEnum process_event() const
{
Modified: trunk/boost/msm/back/fold_to_list.hpp
==============================================================================
--- trunk/boost/msm/back/fold_to_list.hpp (original)
+++ trunk/boost/msm/back/fold_to_list.hpp 2011-05-17 14:37:01 EDT (Tue, 17 May 2011)
@@ -32,7 +32,7 @@
)
};
-define_states_creation<> const states_ = {{}};
+define_states_creation<> const states_ = {{{}}};
struct FoldToList
: ::boost::proto::or_<
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