fix "warning: base class `class IMessageSubscriber' should

be explicitly initialized in the copy constructor"
This commit is contained in:
Glenn Maynard
2006-01-15 20:49:27 +00:00
parent a87993bcb1
commit bd9c97583e
+2 -1
View File
@@ -126,7 +126,8 @@ Actor::~Actor()
UnsubcribeAndClearCommands();
}
Actor::Actor( const Actor &cpy )
Actor::Actor( const Actor &cpy ):
IMessageSubscriber( cpy )
{
/* Don't copy an Actor in the middle of rendering. */
ASSERT( cpy.m_pTempState == NULL );