aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/types.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-05-11 10:20:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-05-27 08:26:20 +0200
commitba1fb800d20e7757cd8523a0793f63cff137c7cf (patch)
tree62ec255b343869bbee904679ac1359ede309bdda /libbuild2/types.hxx
parent9cb494bcc3d6b9baab57158d833f59dccab693b8 (diff)
Use location_value in module_state
Diffstat (limited to 'libbuild2/types.hxx')
-rw-r--r--libbuild2/types.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/types.hxx b/libbuild2/types.hxx
index 022a6a4..d20fa22 100644
--- a/libbuild2/types.hxx
+++ b/libbuild2/types.hxx
@@ -313,8 +313,9 @@ namespace build2
// Diagnostics location.
//
- // Note that location maintains a shallow reference to path/path_name. Zero
- // lines or columns are not printed.
+ // Note that location maintains a shallow reference to path/path_name (use
+ // location_value if you need the deep copy semantics). Zero lines or
+ // columns are not printed.
//
class location
{
@@ -356,7 +357,6 @@ namespace build2
location_value ();
- explicit
location_value (const location&);
location_value (location_value&&);