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:
@@ -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); }
|
||||||
|
|||||||
Reference in New Issue
Block a user