diff options
author | Tomi Valkeinen <tomi.valkeinen@iki.fi> | 2015-10-03 21:26:25 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@iki.fi> | 2015-10-03 21:26:31 +0300 |
commit | 9e3f0a9c4b6790618637b4ed93d45092e84dd84b (patch) | |
tree | ed96be191ab51d6ddcb348ff025eeff92de264b3 | |
parent | 90f84543a2156a7c8cb8913e2dc4a0eadf7569a0 (diff) |
db: cleanup atomic req use
-rw-r--r-- | tests/db.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/db.cpp b/tests/db.cpp index 12db434..3515b10 100644 --- a/tests/db.cpp +++ b/tests/db.cpp @@ -64,14 +64,14 @@ public: if (card.has_atomic()) { int r; - AtomicReq ctx(card); + AtomicReq req(card); - ctx.add(m_crtc, card.get_prop("FB_ID"), fb->id()); + req.add(m_crtc, "FB_ID", fb->id()); - r = ctx.test(); + r = req.test(); ASSERT(r == 0); - r = ctx.commit(this); + r = req.commit(this); ASSERT(r == 0); } else { int r = crtc->page_flip(*fb, this); |