mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-02 00:45:58 +00:00
Fix warning
This commit is contained in:
@@ -125,15 +125,15 @@ public:
|
|||||||
|
|
||||||
operator uint8() const
|
operator uint8() const
|
||||||
{
|
{
|
||||||
return ((*m_value)>>m_shift)&0xff;
|
return ((*m_value)>>m_shift) & 0xff;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename IntegralType>
|
template <typename IntegralType>
|
||||||
Proxy& operator= (IntegralType v)
|
Proxy& operator= (IntegralType v)
|
||||||
{
|
{
|
||||||
(*m_value)=
|
(*m_value) =
|
||||||
(*m_value)&(~((0xff)<<m_shift)) |
|
( (*m_value) & (~((0xff)<<m_shift)) )
|
||||||
((v&0xff)<<m_shift);
|
| ((v&0xff) << m_shift);
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user