mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 03:21:40 +08:00
Fix windows build caused by mixing enum and enum class.
llvm-svn: 282226
This commit is contained in:
@@ -368,7 +368,7 @@ protected:
|
||||
};
|
||||
static const char *g_option_names[(size_t) OptionNames::LastOptionName];
|
||||
|
||||
static const char *GetKey(enum OptionNames enum_value) {
|
||||
static const char *GetKey(OptionNames enum_value) {
|
||||
return g_option_names[(size_t) enum_value];
|
||||
}
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ private:
|
||||
};
|
||||
static const char *g_option_names[(size_t)OptionNames::LastOptionName];
|
||||
|
||||
static const char *GetKey(enum OptionNames enum_value) {
|
||||
static const char *GetKey(OptionNames enum_value) {
|
||||
return g_option_names[(size_t) enum_value];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user