浏览代码

GenericProperty: Remove useless const qualifier from return value

Turo Lamminen 8 年之前
父节点
当前提交
cd64eae590
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);