Browse Source

GenericProperty: Remove useless const qualifier from return value

Turo Lamminen 8 years ago
parent
commit
cd64eae590
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/GenericProperty.h

+ 1 - 1
code/GenericProperty.h

@@ -111,7 +111,7 @@ inline void SetGenericPropertyPtr(std::map< unsigned int, T* >& list,
 
 // ------------------------------------------------------------------------------------------------
 template <class T>
-inline const bool HasGenericProperty(const std::map< unsigned int, T >& list,
+inline bool HasGenericProperty(const std::map< unsigned int, T >& list,
     const char* szName)
 {
     ai_assert(NULL != szName);