Common: Remove Common::make_unique, use std::make_unique

This commit is contained in:
MerryMage 2016-04-05 13:29:55 +01:00
parent b83e95727f
commit a06dcfeb61
24 changed files with 46 additions and 73 deletions

View file

@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include <clocale>
#include <memory>
#include <thread>
#include <QDesktopWidget>
@ -30,7 +31,6 @@
#include "citra_qt/debugger/ramview.h"
#include "citra_qt/debugger/registers.h"
#include "common/make_unique.h"
#include "common/microprofile.h"
#include "common/platform.h"
#include "common/scm_rev.h"
@ -319,7 +319,7 @@ void GMainWindow::BootGame(const std::string& filename) {
return;
// Create and start the emulation thread
emu_thread = Common::make_unique<EmuThread>(render_window);
emu_thread = std::make_unique<EmuThread>(render_window);
emit EmulationStarting(emu_thread.get());
render_window->moveContext();
emu_thread->start();