summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-07-10 10:04:20 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-07-10 10:12:54 +0300
commit32211ba92d5ded0174b4d4f19a7eb66183f5a6c9 (patch)
tree2a175c458d959de83fc3abb1644ed0d66146907f
parentad5c6f2e147b791183d493e938caa8baa379cf49 (diff)
kms++: fix AtomicReq compilation
4fb69b7d20e90746855de122422ac9cabd78f66f ("kms++: use DrmPropObject in AtomicReq") made AtomicReq::add() use a not-yet-implemented method. Fix this by changing that line back. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--kms++/src/atomicreq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kms++/src/atomicreq.cpp b/kms++/src/atomicreq.cpp
index f2809af..c8dd862 100644
--- a/kms++/src/atomicreq.cpp
+++ b/kms++/src/atomicreq.cpp
@@ -51,7 +51,7 @@ void AtomicReq::add(DrmPropObject* ob, Property *prop, uint64_t value)
void AtomicReq::add(kms::DrmPropObject* ob, const string& prop, uint64_t value)
{
- add(ob, ob->get_prop(prop), value);
+ add(ob, m_card.get_prop(prop), value);
}
void AtomicReq::add(kms::DrmPropObject* ob, const map<string, uint64_t>& values)