]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: test_flag returns bool 5470/head
authorSage Weil <sage@redhat.com>
Mon, 17 Aug 2015 14:29:48 +0000 (10:29 -0400)
committerSage Weil <sage@redhat.com>
Mon, 17 Aug 2015 14:30:32 +0000 (10:30 -0400)
commitb18558b7035f060fca84c53d61b03855bd506539
tree2d466cdb60c0df83ba319f59fb4e08dcc2c48216
parent3540fb9fe0a580d0bddf5b87e0554d3ec20787bc
osd/OSDMap: test_flag returns bool

Otherwise comparing the result to a bool will promote the bool to
an int and fail the comparison.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSDMap.h