]> git.tdb.fi Git - libs/gl.git/blobdiff - source/animation.cpp
Use vector when there's no reason to use some other container
[libs/gl.git] / source / animation.cpp
index 35d2ae7aca1565f79b6934b76a5b675a89afe1e9..61c21ce8611c88f40694efedea9a35f2d687a65e 100644 (file)
@@ -228,7 +228,7 @@ Animation::Iterator &Animation::Iterator::operator+=(const Time::TimeDelta &t)
        time_since_keyframe += t;
        while(time_since_keyframe>iter->delta_t)
        {
-               KeyFrameList::const_iterator next = iter;
+               vector<TimedKeyFrame>::const_iterator next = iter;
                ++next;
                if(next==animation->keyframes.end())
                {