summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/CoreDevice.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/CoreDevice.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
index 0370fce894..92f53df9fa 100644
--- a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
+++ b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
@@ -250,6 +250,7 @@ class InputDetector
{
public:
using Detection = DeviceContainer::InputDetection;
+ using Results = std::vector<Detection>;
InputDetector();
~InputDetector();
@@ -259,16 +260,16 @@ public:
std::chrono::milliseconds maximum_wait);
bool IsComplete() const;
- const std::vector<Detection>& GetResults() const;
+ const Results& GetResults() const;
// move-return'd to prevent copying.
- std::vector<Detection> TakeResults();
+ Results TakeResults();
private:
struct Impl;
Clock::time_point m_start_time;
- std::vector<Detection> m_detections;
+ Results m_detections;
std::unique_ptr<Impl> m_state;
};