diff options
-rw-r--r-- | lldb/include/lldb/Breakpoint/BreakpointOptions.h | 2 | ||||
-rw-r--r-- | lldb/include/lldb/Breakpoint/BreakpointResolver.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/include/lldb/Breakpoint/BreakpointOptions.h b/lldb/include/lldb/Breakpoint/BreakpointOptions.h index 97de7717911..c7763bd7b44 100644 --- a/lldb/include/lldb/Breakpoint/BreakpointOptions.h +++ b/lldb/include/lldb/Breakpoint/BreakpointOptions.h @@ -61,7 +61,7 @@ public: static const char *g_option_names[static_cast<uint32_t>(OptionNames::LastOptionName)]; - static const char *GetKey(enum OptionNames enum_value) { + static const char *GetKey(OptionNames enum_value) { return g_option_names[static_cast<uint32_t>(enum_value)]; } }; diff --git a/lldb/include/lldb/Breakpoint/BreakpointResolver.h b/lldb/include/lldb/Breakpoint/BreakpointResolver.h index a33b31d9345..93e1658e7e6 100644 --- a/lldb/include/lldb/Breakpoint/BreakpointResolver.h +++ b/lldb/include/lldb/Breakpoint/BreakpointResolver.h @@ -222,7 +222,7 @@ protected: *g_option_names[static_cast<uint32_t>(OptionNames::LastOptionName)]; public: - static const char *GetKey(enum OptionNames enum_value) { + static const char *GetKey(OptionNames enum_value) { return g_option_names[static_cast<uint32_t>(enum_value)]; } |