Fix BE endianess arch support in semaphore_406e (#6116)

Add raw() methods for endianness support types and make use of it.
This commit is contained in:
Eladash 2019-06-21 19:29:49 +03:00 committed by Ivan
parent ade291e73d
commit cd0ef99df5
6 changed files with 32 additions and 25 deletions

View file

@ -490,6 +490,11 @@ public:
return storage::from(m_data);
}
stype& raw()
{
return m_data;
}
se_t& operator=(const se_t&) = default;
se_t& operator=(type value)
@ -533,6 +538,11 @@ public:
return std::bit_cast<type>(m_data);
}
stype& raw()
{
return m_data;
}
se_t& operator=(const se_t& value) = default;
se_t& operator=(type value)