Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3241


Ignore:
Timestamp:
Jun 28, 2009, 4:10:03 PM (15 years ago)
Author:
rgrieder
Message:

You shouln't feed GCC too much non standard compliant code ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/util/MultiType.h

    r3233 r3241  
    319319            inline void                       resetValue()                    { if (this->value_) this->value_->reset(); }
    320320
    321             template <typename T> inline void setType()                       { this->assignValue(TypeStripper<T>::RawType());        } /** @brief Resets the value and changes the internal type to T. */
     321            template <typename T> inline void setType()                       { this->assignValue(typename TypeStripper<T>::RawType()); } /** @brief Resets the value and changes the internal type to T. */
    322322            inline void                       setType(const MultiType& other) { this->setType(other.getType());                         } /** @brief Resets the value and changes the internal type to the type of the other MultiType. */
    323323            inline void                       setType(MT_Type type)           { this->reset(); this->convert(type); this->resetValue(); } /** @brief Resets the value and changes the internal type to the given type. */
Note: See TracChangeset for help on using the changeset viewer.