Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update neutral <-> ddi conversion functions involving types with flex-array members #89

Merged
merged 8 commits into from
Feb 22, 2023
Prev Previous commit
Next Next commit
Allow comparisons for UwbSessionStatus.
  • Loading branch information
abeltrano committed Feb 22, 2023
commit ff740881a7e98bd70596dda89adf5148facd1a3c
5 changes: 4 additions & 1 deletion lib/uwb/include/uwb/protocols/fira/FiraDevice.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,12 @@ struct UwbSessionUpdateMulicastListStatus
struct UwbSessionStatus
{
uint32_t SessionId;
UwbSessionState State;
UwbSessionState State{ UwbSessionState::Deinitialized };
std::optional<UwbSessionReasonCode> ReasonCode;

auto
operator<=>(const UwbSessionStatus&) const noexcept = default;

/**
* @brief Returns a string representation of the object.
*
Expand Down