unique_ptr'ing things and removing some XECLEANUP.

This commit is contained in:
Ben Vanik
2014-08-20 23:26:46 -07:00
parent 244e8a8745
commit c59d053404
43 changed files with 271 additions and 347 deletions

View File

@@ -10,6 +10,8 @@
#ifndef XENIA_HID_NOP_NOP_HID_H_
#define XENIA_HID_NOP_NOP_HID_H_
#include <memory>
#include <xenia/core.h>
namespace xe {
@@ -18,7 +20,7 @@ class InputDriver;
class InputSystem;
namespace nop {
InputDriver* Create(InputSystem* input_system);
std::unique_ptr<InputDriver> Create(InputSystem* input_system);
} // namespace nop
} // namespace hid