diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-11-15 13:27:23 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-11-15 21:18:42 +0300 |
commit | 460eb164f0051cf0ffab6860220649c4f03c74fb (patch) | |
tree | 517455df26047c70429679c7bed790098cb39c4e /libbuild2/cc | |
parent | 678345c5a96f14d05a56bce8a68bdd45dfe1d172 (diff) |
Use path_name_view in location and path_name_value in location_value
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/parser.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |