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/cc/parser.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/cc/parser.cxx') diff --git a/libbuild2/cc/parser.cxx b/libbuild2/cc/parser.cxx index 706dc48..45120e2 100644 --- a/libbuild2/cc/parser.cxx +++ b/libbuild2/cc/parser.cxx @@ -197,7 +197,7 @@ namespace build2 // enter: module keyword // leave: semi - location l (get_location (t)); + location_value l (get_location (t)); l_->next (t); @@ -208,7 +208,7 @@ namespace build2 // if (!ex && t.type == type::semi) { - module_marker_ = location_value (move (l)); + module_marker_ = move (l); return; } -- cgit v1.1