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 | 651358d0b66dc425366059a7c119a2aec3fada1e (patch) | |
tree | d6b22f36ba53f402ff9b67f6ba5684ec80f086b4 /src/input_common/input_engine.h | |
parent | 187c9d7e33220dd100abf5d5b76f9d9cab7f3084 (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 5d4fdb4cc..fe2faee5a 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{}; |