dolphin/Source/Core/InputCommon/ControllerInterface/SDL
Léo Lam 8678133e87 ControllerInterface: Switch to std::shared_ptr
Small cleanup by using std::shared_ptr and getting rid of
ciface.Devices() which just returned the m_devices (which defeats the
point of making m_devices protected).

Incidentally, this should make the code safer when we have
different threads accessing devices in the future (for hotplug?).

A lot of code use Device references directly so there is
no easy way to remove FindDevice() and make those unique_ptrs.
2016-06-25 21:46:39 +02:00
..
SDL.cpp ControllerInterface: Switch to std::shared_ptr 2016-06-25 21:46:39 +02:00
SDL.h ControllerInterface: Don't pass m_devices to the backends 2016-06-25 13:46:53 +02:00