From a48bf15656da7efd4cd63be213445401876a7b02 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Sat, 23 Nov 2002 02:06:06 +0000 Subject: [PATCH] vc7.1 fixes --- panda/src/egg/eggMorphList.I | 12 ++++++------ panda/src/egg/eggMorphList.h | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/panda/src/egg/eggMorphList.I b/panda/src/egg/eggMorphList.I index 89afba8f2f..a14680e6db 100644 --- a/panda/src/egg/eggMorphList.I +++ b/panda/src/egg/eggMorphList.I @@ -99,7 +99,7 @@ operator < (const EggMorphList &other) const { // Description: //////////////////////////////////////////////////////////////////// template -INLINE EggMorphList::iterator EggMorphList:: +INLINE TYPENAME EggMorphList::iterator EggMorphList:: begin() { return _morphs.begin(); } @@ -110,7 +110,7 @@ begin() { // Description: //////////////////////////////////////////////////////////////////// template -INLINE EggMorphList::const_iterator EggMorphList:: +INLINE TYPENAME EggMorphList::const_iterator EggMorphList:: begin() const { return _morphs.begin(); } @@ -121,7 +121,7 @@ begin() const { // Description: //////////////////////////////////////////////////////////////////// template -INLINE EggMorphList::iterator EggMorphList:: +INLINE TYPENAME EggMorphList::iterator EggMorphList:: end() { return _morphs.end(); } @@ -132,7 +132,7 @@ end() { // Description: //////////////////////////////////////////////////////////////////// template -INLINE EggMorphList::const_iterator EggMorphList:: +INLINE TYPENAME EggMorphList::const_iterator EggMorphList:: end() const { return _morphs.end(); } @@ -143,7 +143,7 @@ end() const { // Description: //////////////////////////////////////////////////////////////////// template -INLINE EggMorphList::size_type EggMorphList:: +INLINE TYPENAME EggMorphList::size_type EggMorphList:: size() const { return _morphs.size(); } @@ -171,7 +171,7 @@ empty() const { // cannot export STL sets from a Windows DLL. //////////////////////////////////////////////////////////////////// template -pair::iterator, bool> EggMorphList:: +pair::iterator, bool> EggMorphList:: insert(const MorphType &value) { pair result; Morphs::iterator mi; diff --git a/panda/src/egg/eggMorphList.h b/panda/src/egg/eggMorphList.h index fbf26290cf..200ba46a53 100644 --- a/panda/src/egg/eggMorphList.h +++ b/panda/src/egg/eggMorphList.h @@ -37,9 +37,9 @@ private: typedef pvector Morphs; public: - typedef Morphs::iterator iterator; - typedef Morphs::const_iterator const_iterator; - typedef Morphs::size_type size_type; + typedef TYPENAME Morphs::iterator iterator; + typedef TYPENAME Morphs::const_iterator const_iterator; + typedef TYPENAME Morphs::size_type size_type; INLINE EggMorphList(); INLINE EggMorphList(const EggMorphList ©);