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 |
||
|---|---|---|
| .. | ||
| include/utils | ||
| Android.bp | ||
| BitSet_fuzz.cpp | ||
| BitSet_test.cpp | ||
| CallStack.cpp | ||
| CallStack_fuzz.cpp | ||
| CleanSpec.mk | ||
| Errors.cpp | ||
| Errors_test.cpp | ||
| FileMap.cpp | ||
| FileMap_fuzz.cpp | ||
| FileMap_test.cpp | ||
| FuzzFormatTypes.h | ||
| JenkinsHash.cpp | ||
| LightRefBase.cpp | ||
| Looper.cpp | ||
| Looper_fuzz.cpp | ||
| Looper_test.cpp | ||
| Looper_test_pipe.h | ||
| LruCache_fuzz.cpp | ||
| LruCache_test.cpp | ||
| misc.cpp | ||
| MODULE_LICENSE_APACHE2 | ||
| Mutex_test.cpp | ||
| NativeHandle.cpp | ||
| NOTICE | ||
| OWNERS | ||
| Printer.cpp | ||
| Printer_fuzz.cpp | ||
| ProcessCallStack.cpp | ||
| ProcessCallStack_fuzz.cpp | ||
| RefBase.cpp | ||
| RefBase_fuzz.cpp | ||
| RefBase_test.cpp | ||
| SharedBuffer.cpp | ||
| SharedBuffer.h | ||
| SharedBuffer_test.cpp | ||
| Singleton_test.cpp | ||
| Singleton_test.h | ||
| Singleton_test1.cpp | ||
| Singleton_test2.cpp | ||
| StopWatch.cpp | ||
| String8.cpp | ||
| String8_fuzz.cpp | ||
| String8_test.cpp | ||
| String16.cpp | ||
| String16_fuzz.cpp | ||
| String16_test.cpp | ||
| StrongPointer.cpp | ||
| StrongPointer_test.cpp | ||
| SystemClock.cpp | ||
| SystemClock_test.cpp | ||
| TEST_MAPPING | ||
| Threads.cpp | ||
| Timers.cpp | ||
| Timers_test.cpp | ||
| Tokenizer.cpp | ||
| Trace.cpp | ||
| Unicode.cpp | ||
| Unicode_test.cpp | ||
| Vector_benchmark.cpp | ||
| Vector_fuzz.cpp | ||
| Vector_test.cpp | ||
| VectorImpl.cpp | ||