mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
crimson/os/seastore: use map::emplace(key, val) instead of map::emplace(pair<>)
simpler this way. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
f829bb82fe
commit
82553af9ce
@ -418,9 +418,8 @@ SeaStore::_omap_get_values_ret SeaStore::_omap_get_values(
|
||||
bufferlist bl;
|
||||
bl.append(*p);
|
||||
ret.emplace(
|
||||
std::make_pair(
|
||||
std::move(key),
|
||||
std::move(bl)));
|
||||
std::move(key),
|
||||
std::move(bl));
|
||||
}
|
||||
return seastar::now();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user