libutils: remove references to unimplemented func
printWeakPointer isn't implemented anywhere. This also allows us to remove a forward declaration of TextOutput. Bug: N/A Test: N/A Change-Id: Ie2debdfda17b7cc1d599c431eaf4c362a591e482
This commit is contained in:
parent
6da50e319c
commit
c0927e64b1
|
@ -188,9 +188,6 @@
|
|||
// ---------------------------------------------------------------------------
|
||||
namespace android {
|
||||
|
||||
class TextOutput;
|
||||
TextOutput& printWeakPointer(TextOutput& to, const void* val);
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
#define COMPARE_WEAK(_op_) \
|
||||
|
@ -459,9 +456,6 @@ private:
|
|||
weakref_type* m_refs;
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
TextOutput& operator<<(TextOutput& to, const wp<T>& val);
|
||||
|
||||
#undef COMPARE_WEAK
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
@ -635,12 +629,6 @@ void wp<T>::clear()
|
|||
}
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline TextOutput& operator<<(TextOutput& to, const wp<T>& val)
|
||||
{
|
||||
return printWeakPointer(to, val.unsafe_get());
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
// this class just serves as a namespace so TYPE::moveReferences can stay
|
||||
|
|
Loading…
Reference in New Issue