diff options
Diffstat (limited to 'build2/bin/rule.cxx')
-rw-r--r-- | build2/bin/rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/bin/rule.cxx b/build2/bin/rule.cxx index c9e8b3e..a73ad3d 100644 --- a/build2/bin/rule.cxx +++ b/build2/bin/rule.cxx @@ -124,9 +124,9 @@ namespace build2 } target_state lib_rule:: - perform (action act, target& xt) + perform (action act, const target& xt) { - lib& t (static_cast<lib&> (xt)); + const lib& t (static_cast<const lib&> (xt)); const match_data& md (t.data<match_data> ()); const string& type (md.type); |