commit | 9160050592c5ce8936e875d11c091835d101a62a | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Tue Oct 17 23:39:34 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Oct 17 23:39:34 2023 +0000 |
tree | 93949ae0c8828600a8307efba42bf460fa8c062a | |
parent | 1a51213576876ca94f225531dc248eddb2890bbc [diff] | |
parent | ce0eb13cb6fceb7190e68a7dcea9771d68e09df2 [diff] |
Merge "[sf] Stop inheriting from std::unary_function" into main
diff --git a/services/surfaceflinger/tests/tracing/TransactionTraceTestSuite.cpp b/services/surfaceflinger/tests/tracing/TransactionTraceTestSuite.cpp index 2b29530..0b2e5a3 100644 --- a/services/surfaceflinger/tests/tracing/TransactionTraceTestSuite.cpp +++ b/services/surfaceflinger/tests/tracing/TransactionTraceTestSuite.cpp
@@ -118,7 +118,7 @@ << 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; }