Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 712832da authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "libutils: remove references to unimplemented func" am: 67a0dd4e am:...

Merge "libutils: remove references to unimplemented func" am: 67a0dd4e am: 4f8a4b09 am: 023a4282
am: d271b91c

Change-Id: I3d3e95f4524eee202e533ec89353d5aedc6e169e
parents 0c6a6ee7 d271b91c
Loading
Loading
Loading
Loading
+0 −12
Original line number Original line Diff line number Diff line
@@ -188,9 +188,6 @@
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
namespace android {
namespace android {


class TextOutput;
TextOutput& printWeakPointer(TextOutput& to, const void* val);

// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------


#define COMPARE_WEAK(_op_)                                      \
#define COMPARE_WEAK(_op_)                                      \
@@ -459,9 +456,6 @@ private:
    weakref_type*   m_refs;
    weakref_type*   m_refs;
};
};


template <typename T>
TextOutput& operator<<(TextOutput& to, const wp<T>& val);

#undef COMPARE_WEAK
#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
// this class just serves as a namespace so TYPE::moveReferences can stay