mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
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;
|
||||
}
|
||||
|
||||
static void accept(T* value) {
|
||||
reset(value);
|
||||
value->Release();
|
||||
}
|
||||
|
||||
void reset() noexcept { object_ref().swap(*this); }
|
||||
|
||||
void reset(T* value) noexcept { object_ref(value).swap(*this); }
|
||||
|
|
|
|||
Loading…
Reference in a new issue