From 08a3e9eb8d9c8ac659e91bcfc8458a8d274ccf90 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Mon, 8 Jun 2020 10:08:22 +0200 Subject: [PATCH] Declare QWaylandDisplay::findExistingCursorTheme noexcept Fixes error: exception specification in declaration does not match previous declaration Amends c962b8c2df8e8a2cbbb7fc4eceebc37bcf3506b9 Change-Id: I7e27ffd5bb3aa4c71680809268d86ba25242833a Reviewed-by: Pier Luigi Fiorini --- src/plugins/platforms/wayland/qwaylanddisplay_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/wayland/qwaylanddisplay_p.h b/src/plugins/platforms/wayland/qwaylanddisplay_p.h index 12e3f413eed..818b5ba9048 100644 --- a/src/plugins/platforms/wayland/qwaylanddisplay_p.h +++ b/src/plugins/platforms/wayland/qwaylanddisplay_p.h @@ -252,7 +252,7 @@ private: QWaylandCursorTheme *theme() const noexcept { return found ? position->theme.get() : nullptr; } }; - FindExistingCursorThemeResult findExistingCursorTheme(const QString &name, int pixelSize) const; + FindExistingCursorThemeResult findExistingCursorTheme(const QString &name, int pixelSize) const noexcept; QScopedPointer mCursor; #endif