diff options
Diffstat (limited to 'src/corelib/kernel/qobject_p.h')
-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); } }; |