]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common,filestore: silence GCC-8 warnings
authorKefu Chai <kchai@redhat.com>
Sun, 6 May 2018 06:39:18 +0000 (14:39 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 6 May 2018 07:26:14 +0000 (15:26 +0800)
commit62382040ee9b655a68b15ccb43cebb39c9dc3a45
treee53dc12d14e9ba775439a9774169a090861bf844
parent19230378c8309e8c24ee81ae255de4b3d80b24f2
common,filestore: silence GCC-8 warnings

should catch polymorphic exceptions by reference. this silences warnings
like:

error: catching polymorphic type â€˜class std::RetryException’ by value
[-Werror=catch-value=]
     } catch (std::RetryException) {

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/cmdparse.h
src/mgr/DaemonState.h
src/os/filestore/LFNIndex.h