summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@theqtcompany.com>2016-03-08 12:35:19 +0100
committerJohan Helsing <johan.helsing@theqtcompany.com>2016-03-08 11:48:47 +0000
commitb5f5419fbec78a65fde4aaf6b3f85d444027b82a (patch)
tree406dc17b1bccfdc32db0520c6ff6c0a8a23a97e4
parent1d409e8d8517a5f3da98a97214c6f299e827f828 (diff)
downloadqtwayland-b5f5419fbec78a65fde4aaf6b3f85d444027b82a.tar.gz
Change constructor argument types for QWaylandExtensionTemplate
The constructor was using the incomplete type QWaylandExtensionTemplatePrivate, when in fact only QWaylandExtensionPrivate was needed. This was causing compilation issues with clang. Task-number: QTBUG-50265 Change-Id: Ie6ae6ac5aa6bc9f3cc63be181e44071ac9382b94 Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
-rw-r--r--src/compositor/global/qwaylandextension.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/global/qwaylandextension.h b/src/compositor/global/qwaylandextension.h
index ac5df8fd..7331731e 100644
--- a/src/compositor/global/qwaylandextension.h
+++ b/src/compositor/global/qwaylandextension.h
@@ -116,11 +116,11 @@ public:
}
protected:
- QWaylandExtensionTemplate(QWaylandExtensionTemplatePrivate &dd)
+ QWaylandExtensionTemplate(QWaylandExtensionPrivate &dd)
: QWaylandExtension(dd)
{ }
- QWaylandExtensionTemplate(QWaylandObject *container, QWaylandExtensionTemplatePrivate &dd)
+ QWaylandExtensionTemplate(QWaylandObject *container, QWaylandExtensionPrivate &dd)
: QWaylandExtension(container,dd)
{ }
};