From ddb7dbbb37475d77e53e813472f9e28d05195714 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 30 Aug 2019 16:11:44 +0200 Subject: Make build_installed const --- libbuild2/utility.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libbuild2/utility.hxx') 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; -- cgit v1.1