diff options
author | Kevin Funk <kevin.funk@kdab.com> | 2019-05-27 17:04:42 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-05-27 15:07:57 +0000 |
commit | 0f777a3b75cd801775b04433f52d00e426c875b3 (patch) | |
tree | 21ebeb08263daab979652d0a15e528209cf971d5 /src | |
parent | a7e9fab3e9cea03c3aaf5166f57ebfd00e7a15b0 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qobject_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qobject_p.h b/src/corelib/kernel/qobject_p.h index 2fb11ecc64..e6e57b29b9 100644 --- a/src/corelib/kernel/qobject_p.h +++ b/src/corelib/kernel/qobject_p.h @@ -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); } }; |