diff options
Diffstat (limited to 'build2/cc/utility.ixx')
-rw-r--r-- | build2/cc/utility.ixx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/utility.ixx b/build2/cc/utility.ixx index 8695a8e..bc9cd05 100644 --- a/build2/cc/utility.ixx +++ b/build2/cc/utility.ixx @@ -7,7 +7,7 @@ namespace build2 namespace cc { inline otype - compile_type (target& t) + compile_type (const target& t) { return t.is_a<bin::obje> () ? otype::e : @@ -16,7 +16,7 @@ namespace build2 } inline otype - link_type (target& t) + link_type (const target& t) { return t.is_a<exe> () ? otype::e : |