Bug 1308132 - Use std::unique_ptr instead of mozilla::UniquePtr as the underlying type for ScopedNSSTypes.h UniqueX types.

MozReview-Commit-ID: IAaBhPTjZft

--HG--
extra : rebase_source : 1675da2e63b222dd7ea9ee9d481fb9c04a490d1a
extra : histedit_source : 23fbbd8c96c7d014d57591579a44c666b9197362
This commit is contained in:
Cykesiopka 2016-10-06 17:01:58 +08:00
parent ff965dc7b2
commit a4fb559557

View File

@ -11,6 +11,7 @@
#define ScopedNSSTypes_h
#include <limits>
#include <memory>
#include "cert.h"
#include "cms.h"
@ -101,7 +102,7 @@ struct name##DeletePolicy \
{ \
void operator()(Type* aValue) { Deleter(aValue); } \
}; \
typedef UniquePtr<Type, name##DeletePolicy> name;
typedef std::unique_ptr<Type, name##DeletePolicy> name;
MOZ_TYPE_SPECIFIC_UNIQUE_PTR_TEMPLATE(UniquePK11Context,
PK11Context,