зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1317779 - [2.0] [bustage fix, CLOSED TREE] Mark implicit conversion constructors explicit. r=me
This commit is contained in:
Родитель
f35213e02e
Коммит
746f46552c
|
@ -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)
|
||||
{}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче