diff options
| author | Casey Dahlin <sadmac@google.com> | 2015-11-12 14:52:13 -0800 |
|---|---|---|
| committer | Bill Yi <byi@google.com> | 2016-02-25 17:02:17 -0800 |
| commit | 97b3e66d3ef598ccf8cad42bbb723273d8d61f7c (patch) | |
| tree | c90348ac4ce427d12ccc9fa0bd7a739c6d349bf4 /libunwindstack/tests/MemoryLocalTest.cpp | |
| parent | dad8361a0ecc194128ad46676b65a81463d5b1b4 (diff) | |
Introduce unique_fd
unique_fds are wrappers for integer file descriptors that automatically
close when they go out of scope. They are movable but not copyable and
generally mimic the semantics of std::unique_ptr
(cherry-pick from 918b9e8dc6dfd7fcbb17a9ac6c4c96fd1bbf78f1)
Change-Id: I0657b848b6536d5ad9fc06686e240ea5c387b0ac
Test: Considerable exercise in new AIDL integration tests
Bug: None
Signed-off-by: Casey Dahlin <sadmac@google.com>
Diffstat (limited to 'libunwindstack/tests/MemoryLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions
