зеркало из https://github.com/mozilla/gecko-dev.git
Bug 850954 - Allow implicit copying of RelocatableValue; r=billm
--HG-- extra : rebase_source : 3190a0178339e997420c27166caeb67dcda3a651
This commit is contained in:
Родитель
1c1df3219e
Коммит
ff4c891817
|
@ -255,7 +255,7 @@ class RelocatablePtr : public EncapsulatedPtr<T>
|
|||
if (v)
|
||||
post();
|
||||
}
|
||||
explicit RelocatablePtr(const RelocatablePtr<T> &v) : EncapsulatedPtr<T>(v) {
|
||||
RelocatablePtr(const RelocatablePtr<T> &v) : EncapsulatedPtr<T>(v) {
|
||||
if (this->value)
|
||||
post();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче