Skip to content

Commit

Permalink
[lldb][NFCI] Remove unneeded ConstString from intel-pt plugin (#66721)
Browse files Browse the repository at this point in the history
This is a follow-up to 14d95b2. 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.
  • Loading branch information
bulbazord authored Sep 19, 2023
1 parent de37d96 commit 45e6e4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TraceIntelPT : public Trace {
/// Properties to be used with the `settings` command.
class PluginProperties : public Properties {
public:
static ConstString GetSettingName();
static llvm::StringRef GetSettingName();

PluginProperties();

Expand Down

0 comments on commit 45e6e4d

Please sign in to comment.