mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
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:
parent
ff965dc7b2
commit
a4fb559557
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user