From ba1fb800d20e7757cd8523a0793f63cff137c7cf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 11 May 2020 10:20:02 +0200 Subject: Use location_value in module_state --- libbuild2/types.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbuild2/types.hxx') 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&&); -- cgit v1.1