diff options
| author | Lioncash <mathew1800@gmail.com> | 2022-01-24 11:57:45 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2022-01-24 11:57:48 -0500 |
| commit | 18c2bd5c122978c2f7a06da44bc9bc68ddab50ff (patch) | |
| tree | d6b22f36ba53f402ff9b67f6ba5684ec80f086b4 /src/input_common/input_engine.h | |
| parent | f02a9e4d81a4230eabb91d77e80295c466bde807 (diff) | |
input_common/input_engine: Ensure PadIdentifier UUIDs have a valid initial state
The default constructor of a UUID instance doesn't initialize the
underlying array.
Diffstat (limited to 'src/input_common/input_engine.h')
| -rw-r--r-- | src/input_common/input_engine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/input_engine.h b/src/input_common/input_engine.h index 5d4fdb4cc6..fe2faee5a5 100644 --- a/src/input_common/input_engine.h +++ b/src/input_common/input_engine.h @@ -16,7 +16,7 @@ // Pad Identifier of data source struct PadIdentifier { - Common::UUID guid{}; + Common::UUID guid{Common::INVALID_UUID}; std::size_t port{}; std::size_t pad{}; |
