Browse Source

GenericProperty: Remove useless const qualifier from return value

Turo Lamminen 8 năm trước cách đây
mục cha
commit
cd64eae590
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);