Bug 1317779 - [2.0] [bustage fix, CLOSED TREE] Mark implicit conversion constructors explicit. r=me

This commit is contained in:
Eugen Sawin 2016-11-22 18:29:45 +01:00
Родитель f35213e02e
Коммит 746f46552c
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -74,7 +74,7 @@ public:
private:
class AutoDeallocToken;
using PromisePrivate = Promise::Private;
DecoderAllocPolicy(TrackType aTrack);
explicit DecoderAllocPolicy(TrackType aTrack);
~DecoderAllocPolicy();
// Called by the destructor of TokenImpl to restore the decoder limit.
void Dealloc();
@ -98,7 +98,7 @@ StaticMutex DecoderAllocPolicy::sMutex;
class DecoderAllocPolicy::AutoDeallocToken : public Token
{
public:
AutoDeallocToken(TrackType aTrack)
explicit AutoDeallocToken(TrackType aTrack)
: mTrack(aTrack)
{}