Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/tao/json/byte.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ namespace tao
return byte( static_cast< unsigned char >( b ) >> shift );
}

byte& operator|=( byte& l, byte r ) noexcept
inline byte& operator|=( byte& l, byte r ) noexcept
{
return l = byte( static_cast< unsigned char >( l ) | static_cast< unsigned char >( r ) );
}
Expand All @@ -68,7 +68,7 @@ namespace tao
return byte( static_cast< unsigned char >( l ) | static_cast< unsigned char >( r ) );
}

byte& operator&=( byte& l, byte r ) noexcept
inline byte& operator&=( byte& l, byte r ) noexcept
{
return l = byte( static_cast< unsigned char >( l ) & static_cast< unsigned char >( r ) );
}
Expand All @@ -78,7 +78,7 @@ namespace tao
return byte( static_cast< unsigned char >( l ) & static_cast< unsigned char >( r ) );
}

byte& operator^=( byte& l, byte r ) noexcept
inline byte& operator^=( byte& l, byte r ) noexcept
{
return l = byte( static_cast< unsigned char >( l ) ^ static_cast< unsigned char >( r ) );
}
Expand Down