From cd64eae59058ab00d3f031730c823ccb53fd5a29 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Sun, 8 Oct 2017 12:45:48 +0300 Subject: [PATCH] GenericProperty: Remove useless const qualifier from return value --- code/GenericProperty.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/GenericProperty.h b/code/GenericProperty.h index 8632e7577..454f4952b 100644 --- a/code/GenericProperty.h +++ b/code/GenericProperty.h @@ -111,7 +111,7 @@ inline void SetGenericPropertyPtr(std::map< unsigned int, T* >& list, // ------------------------------------------------------------------------------------------------ template -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);