Make the class names constant in ParseComponents.hpp.
This commit is contained in:
parent
7ce27cc49d
commit
e3804aa342
@ -38,7 +38,7 @@ namespace StandardComponents {
|
||||
};
|
||||
struct Class: ParseComponent {
|
||||
struct Constructor {};
|
||||
string name;
|
||||
const string name;
|
||||
Constructor constructor;
|
||||
explicit Class(string_view text): name(text) {}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user