Commit e7415078 authored by Ronan's avatar Ronan
Browse files

fix(General): use const map instead of map on getPublicHelper

parent 2bac6321
......@@ -103,7 +103,7 @@ class ObjectPrivate;
template<typename T, typename U>
inline T *getPublicHelper (U *map, const ClonableObjectPrivate *context) {
inline T *getPublicHelper (const U *map, const ClonableObjectPrivate *context) {
auto it = map->find(context);
L_ASSERT(it != map->end());
return static_cast<T *>(it->second);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment