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

Commit c4ff7a54 authored by Ryan Prichard's avatar Ryan Prichard Committed by Android (Google) Code Review
Browse files

Merge "[sf] Stop inheriting from std::unary_function" into udc-qpr-dev-plus-aosp

parents ff6b5b19 6a9953b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ inline void PrintTo(const LayerInfo& info, ::std::ostream* os) {
        << info.touchableRegionBounds.right << "," << info.touchableRegionBounds.bottom << "}";
}

struct find_id : std::unary_function<LayerInfo, bool> {
struct find_id {
    uint64_t id;
    find_id(uint64_t id) : id(id) {}
    bool operator()(LayerInfo const& m) const { return m.id == id; }