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

Commit b3d475f8 authored by Ryan Prichard's avatar Ryan Prichard Committed by Automerger Merge Worker
Browse files

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

parents 74ee2f75 91600505
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; }