diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-01 21:16:10 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-04 06:52:59 +0000 |
commit | 2d838e40e345acf9857aae16df66542a20c18435 (patch) | |
tree | 9f47b02a3b7a091b287eab896040bfa44f3a8038 | |
parent | dd5347567023ab097f7d119c89d2e7153e4a8b86 (diff) | |
download | qtwayland-2d838e40e345acf9857aae16df66542a20c18435.tar.gz |
Fix clang warning about struct/class mismatch
They're the same, so GCC doesn't complain. But MSVC actually
mangles them differently, so Clang has a warning.
qwaylandivisurface.h:42:1: warning: class 'wl_resource' was previously declared as a struct [-Wmismatched-tags]
Change-Id: I27b55fdf514247549455fffd14b179868d300c66
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
-rw-r--r-- | src/compositor/extensions/qwaylandivisurface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/extensions/qwaylandivisurface.h b/src/compositor/extensions/qwaylandivisurface.h index e362eecb..3fd0ede9 100644 --- a/src/compositor/extensions/qwaylandivisurface.h +++ b/src/compositor/extensions/qwaylandivisurface.h @@ -39,7 +39,7 @@ #include <QtWaylandCompositor/QWaylandShellSurface> -class wl_resource; +struct wl_resource; QT_BEGIN_NAMESPACE |