forked from mirrors/gecko-dev
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:
parent
e5d11cb7c8
commit
f4cb55c630
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ public:
|
||||||
{
|
{
|
||||||
return mPtr;
|
return mPtr;
|
||||||
}
|
}
|
||||||
MOZ_IMPLICIT operator bool() const
|
explicit operator bool() const
|
||||||
{
|
{
|
||||||
return mPtr != nullptr;
|
return mPtr != nullptr;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue