storage/udisks2: adjust lambda indent
This commit is contained in:
parent
41e0eb7378
commit
2434020971
|
@ -138,9 +138,11 @@ UdisksStorage::OnListReply(ODBus::Message reply) noexcept
|
|||
|
||||
try {
|
||||
ParseObjects(reply, [this](Object &&o) {
|
||||
if (o.IsId(id))
|
||||
dbus_path = std::move(o.path);
|
||||
});
|
||||
if (!o.IsId(id))
|
||||
return;
|
||||
|
||||
dbus_path = std::move(o.path);
|
||||
});
|
||||
|
||||
if (dbus_path.empty())
|
||||
throw FormatRuntimeError("No such UDisks2 object: %s",
|
||||
|
|
Loading…
Reference in New Issue