Make RustBuiltin a scoped enum

This prevents name clashes. It already is used as scoped enum.
This commit is contained in:
Johannes Altmanninger 2023-04-16 15:52:32 +02:00
parent 61028f020c
commit df6525e770

View File

@ -110,7 +110,7 @@ int parse_help_only_cmd_opts(help_only_cmd_opts_t &opts, int *optind, int argc,
const wchar_t **argv, parser_t &parser, io_streams_t &streams);
/// An enum of the builtins implemented in Rust.
enum RustBuiltin : int32_t {
enum class RustBuiltin : int32_t {
Abbr,
Bg,
Block,