From c5f8438f1a5722d9aedc697231fb004a03981243 Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Thu, 20 Oct 2022 13:30:20 +0300 Subject: [PATCH] chore: make filename of location_t NOT be a reference --- include/utils/location.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/utils/location.hh b/include/utils/location.hh index b9728db..b67dbd8 100644 --- a/include/utils/location.hh +++ b/include/utils/location.hh @@ -10,7 +10,7 @@ namespace ppc { std::size_t start; std::size_t length; std::size_t code_start; - const std::string &filename; + std::string filename; location_t &operator=(const location_t &other); bool operator==(const location_t &other) const;