summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/source/a11y/accessibletestbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/a11y/accessibletestbase.cxx b/test/source/a11y/accessibletestbase.cxx
index 92a40e87f779..773259941f42 100644
--- a/test/source/a11y/accessibletestbase.cxx
+++ b/test/source/a11y/accessibletestbase.cxx
@@ -427,7 +427,7 @@ test::AccessibleTestBase::awaitDialog(const std::u16string_view name,
bool bAutoClose)
: mbWaitingForDialog(true)
, msName(name)
- , mCallback(callback)
+ , mCallback(std::move(callback))
, mbAutoClose(bAutoClose)
, maTimeoutTimer("workaround timer if we don't catch WindowActivate")
, maIdleHandler("runs user callback in idle time")