diff options
Diffstat (limited to 'source/frontend/StarJoinRequestDialog.cpp')
-rw-r--r-- | source/frontend/StarJoinRequestDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarJoinRequestDialog.cpp b/source/frontend/StarJoinRequestDialog.cpp index 1966265..0bc71d8 100644 --- a/source/frontend/StarJoinRequestDialog.cpp +++ b/source/frontend/StarJoinRequestDialog.cpp @@ -18,7 +18,7 @@ void JoinRequestDialog::displayRequest(String const& userName, function<void(P2P GuiReader reader; - m_callback = move(callback); + m_callback = std::move(callback); reader.registerCallback("yes", [this](Widget*){ reply(P2PJoinRequestReply::Yes); }); reader.registerCallback("no", [this](Widget*){ reply(P2PJoinRequestReply::No); }); |