mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Fix another obvious typo to make MutableHandle<Value> a friend of ValueOperations<MutableHandle<Value>> and MutableValueOperations<MutableHandle<Value>>. Followup to bug 773049, r=sparky
--HG-- extra : rebase_source : af69f1a76d4bd73fc9c87f778e4bd509242c78ea
This commit is contained in:
parent
f2adcdd386
commit
c2c183ed62
@ -920,12 +920,12 @@ class HandleBase<Value> : public ValueOperations<Handle<Value> >
|
||||
template <>
|
||||
class MutableHandleBase<Value> : public MutableValueOperations<MutableHandle<Value> >
|
||||
{
|
||||
friend class ValueOperations<Handle<Value> >;
|
||||
friend class ValueOperations<MutableHandle<Value> >;
|
||||
const Value * extract() const {
|
||||
return static_cast<const MutableHandle<Value>*>(this)->address();
|
||||
}
|
||||
|
||||
friend class MutableValueOperations<Handle<Value> >;
|
||||
friend class MutableValueOperations<MutableHandle<Value> >;
|
||||
Value * extractMutable() {
|
||||
return static_cast<MutableHandle<Value>*>(this)->address();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user