aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-11-07 10:53:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-11-08 11:08:03 +0200
commit5efc7faaea8fc780cf0fc9d0629fc50ea4fbd3b4 (patch)
tree09a5e108372933a356ce87a7ea7edbe09295d582 /libbuild2/cc
parenta78a8fcd2506c6ea6046fed32a25f7df3eeca631 (diff)
Tighten args const-ness in the run*() function family
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/compile-rule.cxx4
-rw-r--r--libbuild2/cc/link-rule.cxx4
2 files changed, 0 insertions, 8 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx
index 70f67bc..7ccaeb4 100644
--- a/libbuild2/cc/compile-rule.cxx
+++ b/libbuild2/cc/compile-rule.cxx
@@ -265,10 +265,6 @@ namespace build2
compile_rule::
compile_rule (data&& d, const scope& rs)
: common (move (d)),
- //
- // @@ TODO: split into rule_name (string) and rule_version (integer)
- // on next increment.
- //
rule_id (string (x) += ".compile 6")
{
// Locate the header cache (see enter_header() for details).
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx
index ff03fd9..af04ac7 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -254,10 +254,6 @@ namespace build2
link_rule::
link_rule (data&& d)
: common (move (d)),
- //
- // @@ TODO: split into rule_name (string) and rule_version (integer)
- // on next increment.
- //
rule_id (string (x) += ".link 3")
{
}