Bug 1048240 - Fix more bad implicit constructors in accessible; r=tbsaunde

This commit is contained in:
Ehsan Akhgari 2014-08-05 17:57:52 -04:00
parent 30e3b3975d
commit f1e4dec89c
2 changed files with 3 additions and 3 deletions

View File

@ -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*() {

View File

@ -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
{