Fix #350 typo in operator | for gsl::byte.

This commit is contained in:
Neil MacIntosh 2016-09-06 18:50:32 -07:00 committed by GitHub
commit d23f4d931c

View File

@ -75,7 +75,7 @@ constexpr byte& operator|=(byte& l, byte r) noexcept
constexpr byte operator|(byte l, byte r) noexcept
{
return byte(static_cast<unsigned char>(l) + static_cast<unsigned char>(r));
return byte(static_cast<unsigned char>(l) | static_cast<unsigned char>(r));
}
constexpr byte& operator&=(byte& l, byte r) noexcept