qobject_p.h: Const-correctness fix
Note: This function is being called inside GammaRay Change-Id: I4260d2b720d87eec829758cf3b86bc0593d964f2 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
parent
a7e9fab3e9
commit
0f777a3b75
|
|
@ -237,7 +237,7 @@ public:
|
|||
{
|
||||
return reinterpret_cast<const ConnectionList *>(this + 1)[i + 1];
|
||||
}
|
||||
int count() { return static_cast<int>(allocated); }
|
||||
int count() const { return static_cast<int>(allocated); }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue