xobject: remove accept method of object_ref class
The removed method was causing an error in clang ("call to non-static member function without an object argument"). As it was not used, simply remove it.
This commit is contained in:
parent
890e4591ce
commit
ab2ef82d55
|
@ -280,11 +280,6 @@ class object_ref {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void accept(T* value) {
|
|
||||||
reset(value);
|
|
||||||
value->Release();
|
|
||||||
}
|
|
||||||
|
|
||||||
void reset() noexcept { object_ref().swap(*this); }
|
void reset() noexcept { object_ref().swap(*this); }
|
||||||
|
|
||||||
void reset(T* value) noexcept { object_ref(value).swap(*this); }
|
void reset(T* value) noexcept { object_ref(value).swap(*this); }
|
||||||
|
|
Loading…
Reference in New Issue