Procházet zdrojové kódy

GenericProperty: Remove useless const qualifier from return value

Turo Lamminen před 8 roky
rodič
revize
cd64eae590
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);