chore: make filename of location_t NOT be a reference

This commit is contained in:
TopchetoEU 2022-10-20 13:30:20 +03:00
parent a5c9a163f2
commit c5f8438f1a

View File

@ -10,7 +10,7 @@ namespace ppc {
std::size_t start; std::size_t start;
std::size_t length; std::size_t length;
std::size_t code_start; std::size_t code_start;
const std::string &filename; std::string filename;
location_t &operator=(const location_t &other); location_t &operator=(const location_t &other);
bool operator==(const location_t &other) const; bool operator==(const location_t &other) const;