0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd::stringops: Fix missing boolmask in character replace transforms.

This commit is contained in:
Jason Volk 2020-12-18 04:02:27 -08:00
parent f7945918c6
commit 96fa20244b

View file

@ -254,8 +254,8 @@ noexcept
(const char p) -> char
{
return 0
| ((p == before) & after)
| ((p != before) & p)
| (boolmask<char>(p == before) & after)
| (boolmask<char>(p != before) & p)
;
});
@ -280,8 +280,8 @@ noexcept
(const char p) -> char
{
return 0
| ((p == before) & after)
| ((p != before) & p)
| (boolmask<char>(p == before) & after)
| (boolmask<char>(p != before) & p)
;
});