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

Skip to content
Commit 6a9953b0 authored by Ryan Prichard's avatar Ryan Prichard Committed by Cherrypicker Worker
Browse files

[sf] Stop inheriting from std::unary_function

std::unary_function was deprecated in C++11 and removed in C++17. Its
function is to provide two typedefs, `argument_type` and `result_type`,
but these are not needed for std::find_if's Predicate, so stop using
std::unary_function.

Bug: 175635923
Test: m MODULES-IN-frameworks-native
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ec8cc07d8ae214453c83cbe00404b9adf73d49c1)
Merged-In: Ie16ada6f76bee7d9f248dc8349a095b50777c92d
Change-Id: Ie16ada6f76bee7d9f248dc8349a095b50777c92d
parent f408312f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment