aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-30 16:11:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-30 16:11:44 +0200
commitddb7dbbb37475d77e53e813472f9e28d05195714 (patch)
treeb875a487e2d3377cb9b504995113f3fcfe28b105 /libbuild2/utility.hxx
parentaf5ed67002b7031e1735968674bacb5ee868165f (diff)
Make build_installed const
Diffstat (limited to 'libbuild2/utility.hxx')
-rw-r--r--libbuild2/utility.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/libbuild2/utility.hxx b/libbuild2/utility.hxx
index e4b5bcb..f6b6d3a 100644
--- a/libbuild2/utility.hxx
+++ b/libbuild2/utility.hxx
@@ -144,7 +144,7 @@ namespace build2
// Whether running installed build.
//
- LIBBUILD2_SYMEXPORT extern bool build_installed;
+ LIBBUILD2_SYMEXPORT extern const bool build_installed;
// --[no-]mtime-check
//
@@ -169,8 +169,7 @@ namespace build2
// state dump). If it is empty, then relative() below returns the original
// path.
//
- // @@ CTX: this could be an issue if changed concurrently from several
- // contexts.
+ // Note: watch out for concurrent changes from multiple build contexts.
//
LIBBUILD2_SYMEXPORT extern const dir_path* relative_base;