summaryrefslogtreecommitdiff
path: root/src/hardwareintegration/compositor/dmabuf-server/dmabufserverbufferintegration.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-11-11 15:53:00 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-11-14 07:24:36 +0100
commit12062bd6783e344f6511287e369954d22cb54dee (patch)
treebec2a5a447f66447d02a680a6a725483392456ef /src/hardwareintegration/compositor/dmabuf-server/dmabufserverbufferintegration.cpp
parent7f953786f895ebbef9e135e8bf098075986a3ba5 (diff)
downloadqtwayland-12062bd6783e344f6511287e369954d22cb54dee.tar.gz
Port from container::count() and length() to size() - V5
This is a the same semantic patch (qt-port-to-std-compatible-api V5 with config Scope: 'Container') as in dev. I've re-ran it in 6.4 to avoid cherry-pick conflicts. Change-Id: I9621dee5ed328b47e78919a34c307105e4311903 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/hardwareintegration/compositor/dmabuf-server/dmabufserverbufferintegration.cpp')
-rw-r--r--src/hardwareintegration/compositor/dmabuf-server/dmabufserverbufferintegration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/compositor/dmabuf-server/dmabufserverbufferintegration.cpp b/src/hardwareintegration/compositor/dmabuf-server/dmabufserverbufferintegration.cpp
index 2dc0dfb1..a217c1c8 100644
--- a/src/hardwareintegration/compositor/dmabuf-server/dmabufserverbufferintegration.cpp
+++ b/src/hardwareintegration/compositor/dmabuf-server/dmabufserverbufferintegration.cpp
@@ -100,7 +100,7 @@ QOpenGLTexture *DmaBufServerBuffer::toOpenGlTexture()
bool DmaBufServerBuffer::bufferInUse()
{
- return resourceMap().count() > 0;
+ return resourceMap().size() > 0;
}
DmaBufServerBufferIntegration::DmaBufServerBufferIntegration()