[lldb][NFCI] Remove unneeded ConstString from intel-pt plugin (#66721)

This is a follow-up to 14d95b26ae. I would
have changed it in that commit, but I don't build the intel-pt plugin so
I didn't see this until later.
This commit is contained in:
Alex Langford
2023-09-19 10:49:38 -07:00
committed by GitHub
parent de37d965da
commit 45e6e4d70e
2 changed files with 3 additions and 3 deletions

View File

@@ -48,8 +48,8 @@ enum {
#include "TraceIntelPTPropertiesEnum.inc"
};
ConstString TraceIntelPT::PluginProperties::GetSettingName() {
return ConstString(TraceIntelPT::GetPluginNameStatic());
llvm::StringRef TraceIntelPT::PluginProperties::GetSettingName() {
return TraceIntelPT::GetPluginNameStatic();
}
TraceIntelPT::PluginProperties::PluginProperties() : Properties() {

View File

@@ -26,7 +26,7 @@ public:
/// Properties to be used with the `settings` command.
class PluginProperties : public Properties {
public:
static ConstString GetSettingName();
static llvm::StringRef GetSettingName();
PluginProperties();