Bug 1181428 - Add explicit to constructor. - r=bustage

This commit is contained in:
Jeff Gilbert 2015-07-14 17:41:48 -07:00
parent 937aef5b19
commit 126f7f1171

View File

@ -48,7 +48,7 @@ class OriginKeyStore : public nsISupports
static const size_t DecodedLength = 18;
static const size_t EncodedLength = DecodedLength * 4 / 3;
OriginKey(const nsACString& aKey, int64_t aSecondsStamp = 0) // 0 = temporal
explicit OriginKey(const nsACString& aKey, int64_t aSecondsStamp = 0) // 0 = temporal
: mKey(aKey)
, mSecondsStamp(aSecondsStamp) {}