diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-30 16:11:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-30 16:11:44 +0200 |
commit | ddb7dbbb37475d77e53e813472f9e28d05195714 (patch) | |
tree | b875a487e2d3377cb9b504995113f3fcfe28b105 /libbuild2/utility.hxx | |
parent | af5ed67002b7031e1735968674bacb5ee868165f (diff) |
Make build_installed const
Diffstat (limited to 'libbuild2/utility.hxx')
-rw-r--r-- | libbuild2/utility.hxx | 5 |
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; |