Pārlūkot izejas kodu

remove inappropriate TYPENAME's

David Rose 23 gadi atpakaļ
vecāks
revīzija
3b498e1919
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 1 1
      panda/src/express/ordered_vector.I
  2. 2 2
      panda/src/express/pointerTo.I

+ 1 - 1
panda/src/express/ordered_vector.I

@@ -309,7 +309,7 @@ operator >= (const ordered_vector<Key, Compare> &other) const {
 //               the insert operation has taken place.
 ////////////////////////////////////////////////////////////////////
 template<class Key, class Compare>
-INLINE TYPENAME pair<TYPENAME ordered_vector<Key, Compare>::ITERATOR, bool> ordered_vector<Key, Compare>::
+INLINE pair<TYPENAME ordered_vector<Key, Compare>::ITERATOR, bool> ordered_vector<Key, Compare>::
 insert_unique(const TYPENAME ordered_vector<Key, Compare>::VALUE_TYPE &key) {
   ITERATOR position = find_insert_position(begin(), end(), key);
 #ifdef NDEBUG

+ 2 - 2
panda/src/express/pointerTo.I

@@ -366,7 +366,7 @@ p() const {
 //  Description:
 ////////////////////////////////////////////////////////////////////
 template<class T>
-INLINE TYPENAME PointerTo<T> &PointerTo<T>::
+INLINE PointerTo<T> &PointerTo<T>::
 operator = (To *ptr) {
   reassign(ptr);
   return *this;
@@ -378,7 +378,7 @@ operator = (To *ptr) {
 //  Description:
 ////////////////////////////////////////////////////////////////////
 template<class T>
-INLINE TYPENAME PointerTo<T> &PointerTo<T>::
+INLINE PointerTo<T> &PointerTo<T>::
 operator = (const PointerTo<T> &copy) {
   reassign((const PointerToBase<T> &)copy);
   return *this;