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

Commit 91600505 authored by Ryan Prichard's avatar Ryan Prichard Committed by Gerrit Code Review
Browse files

Merge "[sf] Stop inheriting from std::unary_function" into main

parents 1a512135 ce0eb13c
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 {
    int id;
    find_id(int id) : id(id) {}
    bool operator()(LayerInfo const& m) const { return m.id == id; }