c++ Fix enumeration value check for MacOS builds
c++ Fix enumeration value check for MacOS builds: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: c++ Fix enumeration value check for MacOS builds
The task
**Title:** [c++] Fix enumeration value check for MacOS builds
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.