Skip to content

Commit

Permalink
Remove unecessary const return type
Browse files Browse the repository at this point in the history
  • Loading branch information
raccog committed Nov 24, 2023
1 parent a49b855 commit 8887950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isa/isainfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class ISAInfoBase {
virtual ISA isaID() const = 0;
virtual const RegInfoMap &regInfoMap() const = 0;

const std::set<std::string_view> regFileNames() const {
std::set<std::string_view> regFileNames() const {
std::set<std::string_view> names;
for (const auto &regInfo : regInfoMap()) {
names.insert(regInfo.second->regFileName());
Expand Down

0 comments on commit 8887950

Please sign in to comment.