platform_system_core/libutils/include/utils
Ryan Prichard 4913ca88e5 Remove unnecessary std::unary_function base classes
The function objects work equally well without them, and the base
classes were wrong for both types:
 * HashForEntry: returns size_t but declared to return hash_t
   (uint32_t)
 * EqualityForHashedEntries: returns bool and takes two parameters but
   declared to return hash_t and take one parameter

std::unary_function was deprecated in C++11 and removed in C++17.
Upstream libc++ now removes the type for new-enough C++ dialects.

Bug: http://b/175635923
Test: treehugger
Change-Id: I2ff15c5da6a4e4f71df08c243f8af2f11d8d2b0d
2022-08-26 20:24:57 -07:00
..
AndroidThreads.h Revert "Add choice for changing sched policy when setting thread priority" 2020-09-27 11:21:11 +08:00
Atomic.h
BitSet.h Soften BitSet class comment. 2020-07-16 00:04:20 +00:00
ByteOrder.h Remove unused big-endian cruft. 2019-09-18 08:02:10 -07:00
CallStack.h Use the new AndroidUnwinder object. 2022-05-10 17:19:12 -07:00
Compat.h Fix TEMP_FAILURE_RETRY on non-GNU C++ dialects 2022-03-16 20:54:31 +00:00
Condition.h
Debug.h Deprecate <utils/Debug.h>. 2020-08-17 10:07:29 -07:00
Endian.h
Errors.h Fix Errors.h on systems that define NO_ERROR 2022-03-16 02:15:04 +00:00
ErrorsMacros.h Fix OkOrFail<status_t> conversion ambiguities 2022-02-25 14:27:41 -05:00
FastStrcmp.h
FileMap.h
Flattenable.h Don't #include <utils/Debug.h> from <utils/Flattenable.h>. 2020-08-17 10:14:16 -07:00
Functor.h
JenkinsHash.h
KeyedVector.h Fix implicit cast from ssize_t to size_t in KeyedVector.h 2021-05-21 16:45:46 +00:00
LightRefBase.h libutils: LightRefBase: incStrongRequireStrong 2021-05-04 21:42:26 +00:00
List.h
Log.h
Looper.h Looper: Use sequence numbers in epoll_event to track requests 2021-09-01 14:52:52 +00:00
LruCache.h Remove unnecessary std::unary_function base classes 2022-08-26 20:24:57 -07:00
misc.h
Mutex.h
NativeHandle.h Reland^2 "libutils: disable implicit ref base construction" 2021-04-27 00:09:23 +00:00
Printer.h
ProcessCallStack.h
RefBase.h RefBase: disallow make_shared, make_unique 2022-06-22 21:54:43 +00:00
RWLock.h
Singleton.h
SortedVector.h
StopWatch.h libutils: remove the unused StopWatch lap functionality. 2021-05-11 16:33:47 -07:00
String8.h Revert "Revert "Remove unused String8::setPathName."" 2021-07-19 20:19:44 +00:00
String16.h libutil: no special copy from StaticString16 2021-06-30 09:04:29 +09:00
StrongPointer.h RefBase: test for stack check 2022-07-29 00:54:57 +00:00
SystemClock.h Add docs to SystemClock.h 2021-02-23 12:14:57 -08:00
Thread.h Doc Thread requirement. 2022-05-11 23:13:17 +00:00
ThreadDefs.h
threads.h
Timers.h Make systemTime() abort on bad input. 2020-05-27 15:31:55 -07:00
Tokenizer.h
Trace.h Trace.h: explicitly use global namespace 2019-11-05 17:59:46 -08:00
TypeHelpers.h
Unicode.h Remove move dead code. 2021-04-15 15:18:54 -07:00
Vector.h Update language to comply with Android's inclusive language guidance 2020-07-28 15:58:25 -07:00
VectorImpl.h