aboutsummaryrefslogtreecommitdiff
path: root/drmplane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drmplane.cpp')
-rw-r--r--drmplane.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drmplane.cpp b/drmplane.cpp
index 35f91b4..6f1bf9b 100644
--- a/drmplane.cpp
+++ b/drmplane.cpp
@@ -42,7 +42,7 @@ int DrmPlane::Init() {
}
uint64_t type;
- ret = p.value(&type);
+ std::tie(ret, type) = p.value();
if (ret) {
ALOGE("Failed to get plane type property value");
return ret;