Bug 1428541 - Make char16ptr_t::operator bool() explicit. r=froydnj

clang-cl fails to build without this change due to ambiguous call.

MozReview-Commit-ID: 22x5PCsG221

--HG--
extra : rebase_source : 93d2d50abc126286ad78c1f3700fe358c507a826
extra : intermediate-source : a9c64eaa326a2c694456d2e8907074f75b66c645
extra : source : c0b55d2093f59a8dabf2640106befa0dae516906
This commit is contained in:
Masatoshi Kimura 2017-12-24 23:33:56 +09:00
parent e5d11cb7c8
commit f4cb55c630

View File

@ -66,7 +66,7 @@ public:
{
return mPtr;
}
MOZ_IMPLICIT operator bool() const
explicit operator bool() const
{
return mPtr != nullptr;
}