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:
sephiroth99 2015-09-22 01:27:29 -04:00 committed by Ben Vanik
parent 890e4591ce
commit ab2ef82d55
1 changed files with 0 additions and 5 deletions

View File

@ -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); }