Merge pull request #11979 from nicovank/master
Minor fix: Rename Symbol constructor parameter to prevent shadowing
This commit is contained in:
commit
5ad2d86cc7
|
@ -38,7 +38,7 @@ struct Symbol
|
||||||
};
|
};
|
||||||
|
|
||||||
Symbol() = default;
|
Symbol() = default;
|
||||||
explicit Symbol(const std::string& name) { Rename(name); }
|
explicit Symbol(const std::string& symbol_name) { Rename(symbol_name); }
|
||||||
|
|
||||||
void Rename(const std::string& symbol_name);
|
void Rename(const std::string& symbol_name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue