drm_hwcomposer: Add missing namespaces
Change-Id: I2ac3580664018cf63dc14e9f8025c2e60f843e3c
This commit is contained in:
parent
bd61cdab1f
commit
d4ab368f7f
4 changed files with 23 additions and 6 deletions
|
|
@ -21,6 +21,8 @@
|
|||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
namespace android {
|
||||
|
||||
template <typename T>
|
||||
using DUniquePtr = std::unique_ptr<T, std::function<void(T *)>>;
|
||||
|
||||
|
|
@ -82,3 +84,5 @@ auto inline MakeDrmModeResUnique(int fd) {
|
|||
return DrmModeResUnique(drmModeGetResources(fd),
|
||||
[](drmModeRes *it) { drmModeFreeResources(it); });
|
||||
}
|
||||
|
||||
} // namespace android
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue