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 {
|
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",
|
||||||
|
|
Loading…
Reference in New Issue