]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson: osd: do not capture std::error_code by reference 43003/head
authorGreg Farnum <gfarnum@redhat.com>
Tue, 31 Aug 2021 20:18:49 +0000 (20:18 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 1 Sep 2021 00:10:17 +0000 (00:10 +0000)
commit52f2f9e55d296e439f4f80f93affb1e01b971829
treed7eecbb12facd78f37da28b1c30db19f3513aae1
parent980cf670ed7cb8afe9f58c26782e34e559848051
crimson: osd: do not capture std::error_code by reference

I can't find any reason to assume it has a longer lifetime than
the future we're creating has.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
src/crimson/osd/pg.cc