squelch gcc4.0.1 warning

This commit is contained in:
David Rose 2005-07-29 23:02:39 +00:00
parent 76ea413184
commit eac02d6c0c
2 changed files with 11 additions and 2 deletions

View File

@ -38,7 +38,6 @@ AnimChannel(const string &name)
: AnimChannelBase(name) {
}
////////////////////////////////////////////////////////////////////
// Function: AnimChannel::Constructor
// Access: Public
@ -52,6 +51,16 @@ AnimChannel(AnimGroup *parent, const string &name)
: AnimChannelBase(parent, name) {
}
////////////////////////////////////////////////////////////////////
// Function: AnimChannel::Destructor
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
template<class SwitchType>
INLINE AnimChannel<SwitchType>::
~AnimChannel() {
}
#ifdef WIN32_VC
////////////////////////////////////////////////////////////////////
// Function: AnimChannel::get_value

View File

@ -38,11 +38,11 @@ protected:
// you must first create an AnimBundle, and use that to create any
// subsequent children.
INLINE AnimChannel(const string &name = "");
public:
typedef TYPENAME SwitchType::ValueType ValueType;
INLINE AnimChannel(AnimGroup *parent, const string &name);
INLINE ~AnimChannel();
PUBLISHED:
virtual void get_value(int frame, ValueType &value)=0;