mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Bug 1048240 - Fix more bad implicit constructors in accessible; r=tbsaunde
This commit is contained in:
parent
30e3b3975d
commit
f1e4dec89c
@ -291,7 +291,7 @@ public:
|
||||
class AccReorderEvent : public AccEvent
|
||||
{
|
||||
public:
|
||||
AccReorderEvent(Accessible* aTarget) :
|
||||
explicit AccReorderEvent(Accessible* aTarget) :
|
||||
AccEvent(::nsIAccessibleEvent::EVENT_REORDER, aTarget,
|
||||
eAutoDetect, eCoalesceReorder) { }
|
||||
virtual ~AccReorderEvent() { }
|
||||
@ -499,7 +499,7 @@ private:
|
||||
class downcast_accEvent
|
||||
{
|
||||
public:
|
||||
downcast_accEvent(AccEvent* e) : mRawPtr(e) { }
|
||||
explicit downcast_accEvent(AccEvent* e) : mRawPtr(e) { }
|
||||
|
||||
template<class Destination>
|
||||
operator Destination*() {
|
||||
|
@ -96,7 +96,7 @@ struct GroupPos
|
||||
class index_t
|
||||
{
|
||||
public:
|
||||
index_t(int32_t aVal) : mVal(aVal) {}
|
||||
MOZ_IMPLICIT index_t(int32_t aVal) : mVal(aVal) {}
|
||||
|
||||
operator uint32_t() const
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user