hey guys,
this problem cropped up as I was working on an assignment. I have been sitting on this for some time, and I hope you guys can help out. Got a lot further to go, and i'm stuck at nearly the beginning.
error: request for member `clone' in `tright->TimeValue::scale(float)(dleft)', which is of non-aggregate type `Value*'
return tright ->scale(dleft).clone() is the calling function.
now, dleft is simply an int, and tright is a TimeValue*. Value is the base class for TimeValue, and TimeValue has both scale() and clone() defined in itself.
this problem cropped up as I was working on an assignment. I have been sitting on this for some time, and I hope you guys can help out. Got a lot further to go, and i'm stuck at nearly the beginning.
error: request for member `clone' in `tright->TimeValue::scale(float)(dleft)', which is of non-aggregate type `Value*'
return tright ->scale(dleft).clone() is the calling function.
now, dleft is simply an int, and tright is a TimeValue*. Value is the base class for TimeValue, and TimeValue has both scale() and clone() defined in itself.
