aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/link
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-02-01 16:36:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-02-13 12:42:41 +0200
commite3e597180487328a54721e2afb95e33ed853d586 (patch)
tree89d59f482d41eb37a90f97b0dd55c2e878e4800b /build2/cc/link
parent1dd17210b76d544a04fc6b4f3c98162ae9718102 (diff)
Pass const scope& where modification should not happen
Diffstat (limited to 'build2/cc/link')
-rw-r--r--build2/cc/link12
1 files changed, 6 insertions, 6 deletions
diff --git a/build2/cc/link b/build2/cc/link
index 5f28204..d1b0e7a 100644
--- a/build2/cc/link
+++ b/build2/cc/link
@@ -71,13 +71,13 @@ namespace build2
// Library handling.
//
void
- append_libraries (strings&, file&, bool, scope&, lorder) const;
+ append_libraries (strings&, file&, bool, const scope&, lorder) const;
void
- hash_libraries (sha256&, file&, bool, scope&, lorder) const;
+ hash_libraries (sha256&, file&, bool, const scope&, lorder) const;
void
- rpath_libraries (strings&, target&, scope&, lorder, bool) const;
+ rpath_libraries (strings&, target&, const scope&, lorder, bool) const;
// Windows rpath emulation (windows-rpath.cxx).
//
@@ -93,13 +93,13 @@ namespace build2
using windows_dlls = std::set<windows_dll>;
timestamp
- windows_rpath_timestamp (file&, scope&, lorder) const;
+ windows_rpath_timestamp (file&, const scope&, lorder) const;
windows_dlls
- windows_rpath_dlls (file&, scope&, lorder) const;
+ windows_rpath_dlls (file&, const scope&, lorder) const;
void
- windows_rpath_assembly (file&, scope&, lorder,
+ windows_rpath_assembly (file&, const scope&, lorder,
const string&,
timestamp,
bool) const;