]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: silence error from libstdc++ in gcc-8
authorKefu Chai <kchai@redhat.com>
Sun, 6 May 2018 06:52:06 +0000 (14:52 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 6 May 2018 07:26:14 +0000 (15:26 +0800)
commit68caa9da7ec504021b2cbd1e91367c958cb4d742
treeca487089573509ccb2366dbf95f13637be9d9016
parent557cb0614586880512c9213676f8f6dcd226eb38
os/filestore: silence error from libstdc++ in gcc-8

this change silences following error

stl_tree.h:452:21: error: static assertion failed: comparison object
must be invocable with two arguments of key type
static_assert(__is_invocable<_Compare&, const _Key&, const _Key&>{},
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/filestore/HashIndex.h