From f54de83886ba0746b9348dbfd33b18d8a1ddf299 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 16 Jan 2023 18:04:01 +0200 Subject: [PATCH] Fix build with Clang. (cherry picked from commit 7ea84412715e2dbfe331188f21be4a96ce1382fa) --- src/libs/vlayout/vtextmanager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vlayout/vtextmanager.h b/src/libs/vlayout/vtextmanager.h index 9f12c52dc..47cb75415 100644 --- a/src/libs/vlayout/vtextmanager.h +++ b/src/libs/vlayout/vtextmanager.h @@ -79,8 +79,8 @@ public: auto operator=(const VTextManager &text) -> VTextManager & = default; #ifdef Q_COMPILER_RVALUE_REFS - VTextManager(VTextManager &&text) Q_DECL_NOTHROW = default; - auto operator=(VTextManager &&text) Q_DECL_NOTHROW -> VTextManager & = default; + VTextManager(VTextManager &&text) = default; + auto operator=(VTextManager &&text) -> VTextManager & = default; #endif virtual auto GetSpacing() const -> int;