vc7.1 fixes

This commit is contained in:
cxgeorge 2002-11-23 02:06:06 +00:00
parent 8221e108ac
commit a48bf15656
2 changed files with 9 additions and 9 deletions

View File

@ -99,7 +99,7 @@ operator < (const EggMorphList<MorphType> &other) const {
// Description: // Description:
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
template<class MorphType> template<class MorphType>
INLINE EggMorphList<MorphType>::iterator EggMorphList<MorphType>:: INLINE TYPENAME EggMorphList<MorphType>::iterator EggMorphList<MorphType>::
begin() { begin() {
return _morphs.begin(); return _morphs.begin();
} }
@ -110,7 +110,7 @@ begin() {
// Description: // Description:
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
template<class MorphType> template<class MorphType>
INLINE EggMorphList<MorphType>::const_iterator EggMorphList<MorphType>:: INLINE TYPENAME EggMorphList<MorphType>::const_iterator EggMorphList<MorphType>::
begin() const { begin() const {
return _morphs.begin(); return _morphs.begin();
} }
@ -121,7 +121,7 @@ begin() const {
// Description: // Description:
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
template<class MorphType> template<class MorphType>
INLINE EggMorphList<MorphType>::iterator EggMorphList<MorphType>:: INLINE TYPENAME EggMorphList<MorphType>::iterator EggMorphList<MorphType>::
end() { end() {
return _morphs.end(); return _morphs.end();
} }
@ -132,7 +132,7 @@ end() {
// Description: // Description:
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
template<class MorphType> template<class MorphType>
INLINE EggMorphList<MorphType>::const_iterator EggMorphList<MorphType>:: INLINE TYPENAME EggMorphList<MorphType>::const_iterator EggMorphList<MorphType>::
end() const { end() const {
return _morphs.end(); return _morphs.end();
} }
@ -143,7 +143,7 @@ end() const {
// Description: // Description:
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
template<class MorphType> template<class MorphType>
INLINE EggMorphList<MorphType>::size_type EggMorphList<MorphType>:: INLINE TYPENAME EggMorphList<MorphType>::size_type EggMorphList<MorphType>::
size() const { size() const {
return _morphs.size(); return _morphs.size();
} }
@ -171,7 +171,7 @@ empty() const {
// cannot export STL sets from a Windows DLL. // cannot export STL sets from a Windows DLL.
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
template<class MorphType> template<class MorphType>
pair<EggMorphList<MorphType>::iterator, bool> EggMorphList<MorphType>:: pair<TYPENAME EggMorphList<MorphType>::iterator, bool> EggMorphList<MorphType>::
insert(const MorphType &value) { insert(const MorphType &value) {
pair<iterator, bool> result; pair<iterator, bool> result;
Morphs::iterator mi; Morphs::iterator mi;

View File

@ -37,9 +37,9 @@ private:
typedef pvector<MorphType> Morphs; typedef pvector<MorphType> Morphs;
public: public:
typedef Morphs::iterator iterator; typedef TYPENAME Morphs::iterator iterator;
typedef Morphs::const_iterator const_iterator; typedef TYPENAME Morphs::const_iterator const_iterator;
typedef Morphs::size_type size_type; typedef TYPENAME Morphs::size_type size_type;
INLINE EggMorphList(); INLINE EggMorphList();
INLINE EggMorphList(const EggMorphList<MorphType> &copy); INLINE EggMorphList(const EggMorphList<MorphType> &copy);