Bug 1617546 - Provide operator== for mozilla::Nothing. r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D63842

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Simon Giesecke 2020-02-24 17:53:39 +00:00
Родитель 25f863ae92
Коммит b5fae19786
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -33,6 +33,10 @@ namespace mozilla {
struct Nothing {};
inline constexpr bool operator==(const Nothing&, const Nothing&) {
return true;
}
namespace detail {
// You would think that poisoning Maybe instances could just be a call