Rename Symbol constructor parameter to prevent shadowing
This commit is contained in:
parent
27db8d4123
commit
4ef2f2c710
|
@ -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