diff options
| author | Luis Hector Chavez <lhchavez@google.com> | 2018-03-26 13:11:21 -0700 |
|---|---|---|
| committer | Luis Hector Chavez <lhchavez@google.com> | 2018-03-27 00:38:06 +0000 |
| commit | f6965c793aaf68a27dc6108fd74dc582c7d07407 (patch) | |
| tree | 4471431063dc647b255a787a8f7fca5ecf901ddd /base/errors_unix.cpp | |
| parent | ffeb7ecc3f280d0532e92c0f44b258db4e8c06a0 (diff) | |
Allow android::base::ScopeGuard in STL containers
This change lets android::base::ScopeGuard be useful in STL containers
(e.g. std::vector<android::base::ScopeGuard<std::function<void()>>>). It
also provides perfect forwarding for android::base::make_scope_guard.
Bug: 34764308
Test: libbase_test
Change-Id: I7d1e5494b0f0695763cff0700efdb9ec18ae85c8
Merged-In: I7d1e5494b0f0695763cff0700efdb9ec18ae85c8
(cherry picked from commit b77035b89a3e95358a1aac9e28cd61c8b256e7ae)
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
