aboutsummaryrefslogtreecommitdiff
path: root/build2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-23 13:58:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-23 13:58:42 +0200
commit0d7c7f2c8bc044519b2936c9891d65701b7762bb (patch)
treeac7a8e6fa338353595589ea8b554486deba260a3 /build2/cc
parentc6a07db01dd75c9d39a54b8bcc01ce262245ad52 (diff)
Make rules const throughout
Diffstat (limited to 'build2/cc')
-rw-r--r--build2/cc/module.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cc/module.cxx b/build2/cc/module.cxx
index e63f740..3e20694 100644
--- a/build2/cc/module.cxx
+++ b/build2/cc/module.cxx
@@ -363,9 +363,9 @@ namespace build2
//
// @@ Should we check if install module was loaded (see bin)?
//
- compile& cr (*this);
- link& lr (*this);
- install& ir (*this);
+ const compile& cr (*this);
+ const link& lr (*this);
+ const install& ir (*this);
r.insert<obje> (perform_update_id, x_compile, cr);
r.insert<obje> (perform_clean_id, x_compile, cr);