Under C++, there is no implicit conversion from `int` to `enum`, which caused a compilation error.
Attach a file by drag & drop or click to upload