From 4eb8139c8a854a856ce108a0c79a932ab9b6da70 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 17 Mar 2017 13:52:23 +0100 Subject: compat/util: remove our make_unique custom impl --- dinput/keybinding-worker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dinput/keybinding-worker.cpp') diff --git a/dinput/keybinding-worker.cpp b/dinput/keybinding-worker.cpp index 5fbde31c..b94b762e 100644 --- a/dinput/keybinding-worker.cpp +++ b/dinput/keybinding-worker.cpp @@ -168,7 +168,7 @@ void KeybindingWorker::run() KeybindingWorker::fun* KeybindingWorker::_add_receiver(fun& receiver) { QMutexLocker l(&mtx); - receivers.push_back(std::unique_ptr(new fun(receiver))); + receivers.push_back(std::make_unique(receiver)); fun* f = receivers[receivers.size() - 1].get(); //qDebug() << "add receiver" << (long) f; joy_ctx.refresh(); -- cgit v1.2.3