blob: ad59375c03aff98c88d2e49e95a8043ffcb3c844 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
$NetBSD: patch-ah,v 1.1 2006/05/11 18:55:31 joerg Exp $
--- render/motion.h.orig 2006-04-28 16:12:32.000000000 +0000
+++ render/motion.h
@@ -74,9 +74,9 @@ class CqMotionSpec
{
m_aTimes.clear();
m_aObjects.clear();
- for ( std::vector<TqFloat>::const_iterator t = From.m_aTimes.begin(); t<From.m_aTimes.end(); t++ )
+ for ( typename std::vector<TqFloat>::const_iterator t = From.m_aTimes.begin(); t<From.m_aTimes.end(); t++ )
m_aTimes.push_back( *t );
- for( std::vector<T>::const_iterator o = From.m_aObjects.begin(); o<From.m_aObjects.end(); o++ )
+ for( typename std::vector<T>::const_iterator o = From.m_aObjects.begin(); o<From.m_aObjects.end(); o++ )
m_aObjects.push_back( *o );
m_DefObject = From.m_DefObject;
}
@@ -105,7 +105,7 @@ class CqMotionSpec
{
// Insert the timeslot at the proper place.
std::vector<TqFloat>::iterator itime = m_aTimes.begin();
- std::vector<T>::iterator iobj = m_aObjects.begin();
+ typename std::vector<T>::iterator iobj = m_aObjects.begin();
while ( itime != m_aTimes.end() && *itime < time ) itime++, iobj++;
m_aTimes.insert( itime, time );
m_aObjects.insert( iobj, Object );
@@ -135,7 +135,7 @@ class CqMotionSpec
*/
void ConcatAllTimeSlots( const T& Object )
{
- for ( std::vector<T>::iterator i = m_aObjects.begin(); i<m_aObjects.end(); i++ )
+ for ( typename std::vector<T>::iterator i = m_aObjects.begin(); i<m_aObjects.end(); i++ )
( *i ) = ConcatMotionObjects( ( *i ), Object );
}
/** Get the frame time at the specified timeslot index.
|