From bd9c97583ebe553bd00d9c23e680bd6343347216 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 15 Jan 2006 20:49:27 +0000 Subject: [PATCH] fix "warning: base class `class IMessageSubscriber' should be explicitly initialized in the copy constructor" --- stepmania/src/Actor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index b00007f85a..d8f24a0eb3 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -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 );