From 460eb164f0051cf0ffab6860220649c4f03c74fb Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 15 Nov 2019 13:27:23 +0300 Subject: Use path_name_view in location and path_name_value in location_value --- libbuild2/version/utility.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/version/utility.cxx') diff --git a/libbuild2/version/utility.cxx b/libbuild2/version/utility.cxx index 0669da7..867aaa8 100644 --- a/libbuild2/version/utility.cxx +++ b/libbuild2/version/utility.cxx @@ -63,12 +63,12 @@ namespace build2 } catch (const manifest_parsing& e) { - location l (&in, e.line, e.column); + location l (in, e.line, e.column); fail (l) << e.description; } catch (const manifest_serialization& e) { - location l (&r.path); + location l (r.path); fail (l) << e.description; } catch (const io_error& e) -- cgit v1.1