Disable warning 4355 in StandbyState with MSVC.

This commit is contained in:
David Capello 2012-01-07 16:32:03 -03:00
parent 3c1acfec03
commit 89da817771

View File

@ -87,6 +87,8 @@ static inline bool has_shifts(Message* msg, int shift)
return ((msg->any.shifts & shift) == shift); return ((msg->any.shifts & shift) == shift);
} }
#pragma warning(disable:4355) // warning C4355: 'this' : used in base member initializer list
StandbyState::StandbyState() StandbyState::StandbyState()
: m_decorator(new Decorator(this)) : m_decorator(new Decorator(this))
{ {