Commit 24340209 authored by Max Kellermann's avatar Max Kellermann

storage/udisks2: adjust lambda indent

parent 41e0eb73
...@@ -138,9 +138,11 @@ UdisksStorage::OnListReply(ODBus::Message reply) noexcept ...@@ -138,9 +138,11 @@ UdisksStorage::OnListReply(ODBus::Message reply) noexcept
try { try {
ParseObjects(reply, [this](Object &&o) { ParseObjects(reply, [this](Object &&o) {
if (o.IsId(id)) if (!o.IsId(id))
dbus_path = std::move(o.path); return;
});
dbus_path = std::move(o.path);
});
if (dbus_path.empty()) if (dbus_path.empty())
throw FormatRuntimeError("No such UDisks2 object: %s", throw FormatRuntimeError("No such UDisks2 object: %s",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment