Explorar o código

GenericProperty: Remove useless const qualifier from return value

Turo Lamminen %!s(int64=8) %!d(string=hai) anos
pai
achega
cd64eae590
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>
 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)
     const char* szName)
 {
 {
     ai_assert(NULL != szName);
     ai_assert(NULL != szName);