зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1117003 - Backout cset ca3c73188295 (Bug 1115903, Part 2), r=ehsan
This commit is contained in:
Родитель
e4712d359b
Коммит
566e222bca
|
@ -124,7 +124,7 @@ private:
|
|||
const uint8_t* data;
|
||||
size_t len;
|
||||
|
||||
void operator=(const Input&) = delete; // Use Init instead.
|
||||
void operator=(const Input&) /* = delete */; // Use Init instead.
|
||||
};
|
||||
|
||||
inline bool
|
||||
|
@ -291,7 +291,7 @@ public:
|
|||
Mark(const Reader& input, const uint8_t* mark) : input(input), mark(mark) { }
|
||||
const Reader& input;
|
||||
const uint8_t* const mark;
|
||||
void operator=(const Mark&) = delete;
|
||||
void operator=(const Mark&) /* = delete */;
|
||||
};
|
||||
|
||||
Mark GetMark() const { return Mark(*this, input); }
|
||||
|
@ -320,8 +320,8 @@ private:
|
|||
const uint8_t* input;
|
||||
const uint8_t* end;
|
||||
|
||||
Reader(const Reader&) = delete;
|
||||
void operator=(const Reader&) = delete;
|
||||
Reader(const Reader&) /* = delete */;
|
||||
void operator=(const Reader&) /* = delete */;
|
||||
};
|
||||
|
||||
inline bool
|
||||
|
|
|
@ -69,8 +69,8 @@ public:
|
|||
protected:
|
||||
T* mValue;
|
||||
|
||||
ScopedPtr(const ScopedPtr&) = delete;
|
||||
void operator=(const ScopedPtr&) = delete;
|
||||
ScopedPtr(const ScopedPtr&) /* = delete */;
|
||||
void operator=(const ScopedPtr&) /* = delete */;
|
||||
};
|
||||
|
||||
template <typename T, void(&Destroyer)(T*)>
|
||||
|
|
|
@ -80,7 +80,7 @@ public:
|
|||
private:
|
||||
F f;
|
||||
B1& b1;
|
||||
void operator=(const Bind1&) = delete;
|
||||
void operator=(const Bind1&) /*= delete*/;
|
||||
};
|
||||
|
||||
template <typename R, typename P1, typename B1, typename B2>
|
||||
|
@ -94,7 +94,7 @@ private:
|
|||
F f;
|
||||
B1& b1;
|
||||
B2& b2;
|
||||
void operator=(const Bind2&) = delete;
|
||||
void operator=(const Bind2&) /*= delete*/;
|
||||
};
|
||||
|
||||
template <typename R, typename P1, typename B1, typename B2, typename B3>
|
||||
|
@ -110,7 +110,7 @@ private:
|
|||
B1& b1;
|
||||
B2& b2;
|
||||
B3& b3;
|
||||
void operator=(const Bind3&) = delete;
|
||||
void operator=(const Bind3&) /*= delete*/;
|
||||
};
|
||||
|
||||
template <typename R, typename P1, typename B1, typename B2, typename B3,
|
||||
|
@ -128,7 +128,7 @@ private:
|
|||
B2& b2;
|
||||
B3& b3;
|
||||
B4& b4;
|
||||
void operator=(const Bind4&) = delete;
|
||||
void operator=(const Bind4&) /*= delete*/;
|
||||
};
|
||||
|
||||
template <typename R, typename C1, typename P1, typename P2, typename P3,
|
||||
|
@ -148,7 +148,7 @@ public:
|
|||
private:
|
||||
const F f;
|
||||
C1& that;
|
||||
void operator=(const BindToMemberFunction4&) = delete;
|
||||
void operator=(const BindToMemberFunction4&) /*= delete*/;
|
||||
};
|
||||
|
||||
template <typename R, typename P1, typename B1, typename B2, typename B3,
|
||||
|
@ -167,7 +167,7 @@ private:
|
|||
B3 b3;
|
||||
B4 b4;
|
||||
B5 b5;
|
||||
void operator=(const Bind5&) = delete;
|
||||
void operator=(const Bind5&) /*= delete*/;
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
|
|
|
@ -80,7 +80,8 @@ public:
|
|||
SignatureAlgorithm algorithm;
|
||||
Input signature;
|
||||
|
||||
void operator=(const SignedDataWithSignature&) = delete;
|
||||
private:
|
||||
void operator=(const SignedDataWithSignature&) /*= delete*/;
|
||||
};
|
||||
|
||||
MOZILLA_PKIX_ENUM_CLASS EndEntityOrCA { MustBeEndEntity = 0, MustBeCA = 1 };
|
||||
|
@ -147,8 +148,8 @@ public:
|
|||
const Input issuer;
|
||||
const Input issuerSubjectPublicKeyInfo;
|
||||
const Input serialNumber;
|
||||
|
||||
void operator=(const CertID&) = delete;
|
||||
private:
|
||||
void operator=(const CertID&) /*= delete*/;
|
||||
};
|
||||
|
||||
class DERArray
|
||||
|
@ -208,9 +209,9 @@ public:
|
|||
protected:
|
||||
IssuerChecker();
|
||||
virtual ~IssuerChecker();
|
||||
|
||||
IssuerChecker(const IssuerChecker&) = delete;
|
||||
void operator=(const IssuerChecker&) = delete;
|
||||
private:
|
||||
IssuerChecker(const IssuerChecker&) /*= delete*/;
|
||||
void operator=(const IssuerChecker&) /*= delete*/;
|
||||
};
|
||||
|
||||
// Search for a CA certificate with the given name. The implementation must
|
||||
|
@ -324,8 +325,9 @@ public:
|
|||
protected:
|
||||
TrustDomain() { }
|
||||
|
||||
TrustDomain(const TrustDomain&) = delete;
|
||||
void operator=(const TrustDomain&) = delete;
|
||||
private:
|
||||
TrustDomain(const TrustDomain&) /* = delete */;
|
||||
void operator=(const TrustDomain&) /* = delete */;
|
||||
};
|
||||
|
||||
} } // namespace mozilla::pkix
|
||||
|
|
|
@ -84,8 +84,8 @@ private:
|
|||
Result result;
|
||||
bool resultWasSet;
|
||||
|
||||
PathBuildingStep(const PathBuildingStep&) = delete;
|
||||
void operator=(const PathBuildingStep&) = delete;
|
||||
PathBuildingStep(const PathBuildingStep&) /*= delete*/;
|
||||
void operator=(const PathBuildingStep&) /*= delete*/;
|
||||
};
|
||||
|
||||
Result
|
||||
|
|
|
@ -71,8 +71,9 @@ public:
|
|||
Time* validThrough;
|
||||
bool expired;
|
||||
|
||||
Context(const Context&) = delete;
|
||||
void operator=(const Context&) = delete;
|
||||
private:
|
||||
Context(const Context&); // delete
|
||||
void operator=(const Context&); // delete
|
||||
};
|
||||
|
||||
// Verify that potentialSigner is a valid delegated OCSP response signing cert
|
||||
|
|
|
@ -143,8 +143,8 @@ private:
|
|||
Result RememberExtension(Reader& extnID, const Input& extnValue,
|
||||
bool critical, /*out*/ bool& understood);
|
||||
|
||||
BackCert(const BackCert&) = delete;
|
||||
void operator=(const BackCert&) = delete;
|
||||
BackCert(const BackCert&) /* = delete */;
|
||||
void operator=(const BackCert&); /* = delete */;
|
||||
};
|
||||
|
||||
class NonOwningDERArray : public DERArray
|
||||
|
@ -183,8 +183,8 @@ private:
|
|||
Input items[MAX_LENGTH]; // avoids any heap allocations
|
||||
size_t numItems;
|
||||
|
||||
NonOwningDERArray(const NonOwningDERArray&) = delete;
|
||||
void operator=(const NonOwningDERArray&) = delete;
|
||||
NonOwningDERArray(const NonOwningDERArray&) /* = delete*/;
|
||||
void operator=(const NonOwningDERArray&) /* = delete*/;
|
||||
};
|
||||
|
||||
inline unsigned int
|
||||
|
|
|
@ -86,8 +86,9 @@ public:
|
|||
return TestCheckPublicKey(subjectPublicKeyInfo);
|
||||
}
|
||||
|
||||
OCSPTestTrustDomain(const OCSPTestTrustDomain&) = delete;
|
||||
void operator=(const OCSPTestTrustDomain&) = delete;
|
||||
private:
|
||||
OCSPTestTrustDomain(const OCSPTestTrustDomain&) /*delete*/;
|
||||
void operator=(const OCSPTestTrustDomain&) /*delete*/;
|
||||
};
|
||||
|
||||
namespace {
|
||||
|
|
|
@ -247,8 +247,8 @@ protected:
|
|||
{
|
||||
}
|
||||
|
||||
TestKeyPair(const TestKeyPair&) = delete;
|
||||
void operator=(const TestKeyPair&) = delete;
|
||||
TestKeyPair(const TestKeyPair&) /*= delete*/;
|
||||
void operator=(const TestKeyPair&) /*= delete*/;
|
||||
};
|
||||
|
||||
TestKeyPair* CloneReusedKeyPair();
|
||||
|
|
Загрузка…
Ссылка в новой задаче