mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1091921 - Don't disable operator delete for Monitor and Mutex Auto helpers. r=froydnj
--HG-- extra : rebase_source : 9754a3daab2b3452201ed9575a4cc00b6b8d6231
This commit is contained in:
parent
552b8dfc85
commit
a09ff42fbc
@ -96,7 +96,6 @@ private:
|
||||
MonitorAutoLock(const MonitorAutoLock&);
|
||||
MonitorAutoLock& operator=(const MonitorAutoLock&);
|
||||
static void* operator new(size_t) CPP_THROW_NEW;
|
||||
static void operator delete(void*);
|
||||
|
||||
Monitor* mMonitor;
|
||||
};
|
||||
@ -127,7 +126,6 @@ private:
|
||||
MonitorAutoUnlock(const MonitorAutoUnlock&);
|
||||
MonitorAutoUnlock& operator=(const MonitorAutoUnlock&);
|
||||
static void* operator new(size_t) CPP_THROW_NEW;
|
||||
static void operator delete(void*);
|
||||
|
||||
Monitor* mMonitor;
|
||||
};
|
||||
|
@ -174,7 +174,6 @@ private:
|
||||
BaseAutoLock(BaseAutoLock&);
|
||||
BaseAutoLock& operator=(BaseAutoLock&);
|
||||
static void* operator new(size_t) CPP_THROW_NEW;
|
||||
static void operator delete(void*);
|
||||
|
||||
T* mLock;
|
||||
MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER
|
||||
@ -212,7 +211,6 @@ private:
|
||||
BaseAutoUnlock(BaseAutoUnlock&);
|
||||
BaseAutoUnlock& operator=(BaseAutoUnlock&);
|
||||
static void* operator new(size_t) CPP_THROW_NEW;
|
||||
static void operator delete(void*);
|
||||
|
||||
T* mLock;
|
||||
MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER
|
||||
|
@ -198,7 +198,6 @@ private:
|
||||
ReentrantMonitorAutoEnter(const ReentrantMonitorAutoEnter&);
|
||||
ReentrantMonitorAutoEnter& operator=(const ReentrantMonitorAutoEnter&);
|
||||
static void* operator new(size_t) CPP_THROW_NEW;
|
||||
static void operator delete(void*);
|
||||
|
||||
mozilla::ReentrantMonitor* mReentrantMonitor;
|
||||
};
|
||||
@ -240,7 +239,6 @@ private:
|
||||
ReentrantMonitorAutoExit(const ReentrantMonitorAutoExit&);
|
||||
ReentrantMonitorAutoExit& operator=(const ReentrantMonitorAutoExit&);
|
||||
static void* operator new(size_t) CPP_THROW_NEW;
|
||||
static void operator delete(void*);
|
||||
|
||||
ReentrantMonitor* mReentrantMonitor;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user