]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
src/mgr: make enum statically castable 66773/head
authorDmitrii Sharshakov <d3dx12.xx@gmail.com>
Thu, 1 Jan 2026 12:33:41 +0000 (13:33 +0100)
committerDmitrii Sharshakov <d3dx12.xx@gmail.com>
Fri, 9 Jan 2026 18:14:55 +0000 (19:14 +0100)
commit856e550b37a0899e2fdda6b1f027093b6e205889
tree39df93fee558d4f223b107c911e6367e6be60e7e
parenta4b9bf76a2c04daf25799ae2785a700d204ce20c
src/mgr: make enum statically castable

Fix the following compiler error:

in-class initializer for static data member is not a constant expression

Co-authored-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
src/mgr/MetricTypes.h