]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/common: disable arithmetic operators for atomic enums
authorRonen Friedman <rfriedma@redhat.com>
Sun, 7 Nov 2021 09:03:59 +0000 (11:03 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 7 Nov 2021 09:54:14 +0000 (11:54 +0200)
commit2badc8987ed66b5839a053a8482012cc6b804016
treedfac462aa5a7dc68175e490d49a41eaba158819d
parent4f56c918e803d1a8cf10403b42deb188ee4ecf00
crimson/common: disable arithmetic operators for atomic enums

While class enums are 'integral types', they do not support
all that an int does.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/ceph_atomic.h