aboutsummaryrefslogtreecommitdiff
path: root/build2
diff options
context:
space:
mode:
Diffstat (limited to 'build2')
-rw-r--r--build2/cxx/target.cxx2
-rw-r--r--build2/cxx/target.hxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/build2/cxx/target.cxx b/build2/cxx/target.cxx
index 5641e7a..bde41fc 100644
--- a/build2/cxx/target.cxx
+++ b/build2/cxx/target.cxx
@@ -68,7 +68,7 @@ namespace build2
const target_type mxx::static_type
{
"mxx",
- &cc::static_type,
+ &file::static_type,
&target_factory<mxx>,
&target_extension_var<ext_var, mxx_ext_def>,
&target_pattern_var<ext_var, mxx_ext_def>,
diff --git a/build2/cxx/target.hxx b/build2/cxx/target.hxx
index f5591d1..ff1d077 100644
--- a/build2/cxx/target.hxx
+++ b/build2/cxx/target.hxx
@@ -61,12 +61,12 @@ namespace build2
// The module interface unit is both like a header (e.g., we need to
// install it) and like a source (we need to compile it). Plus, to
// support dual use (modules/headers) it could actually be #include'd
- // (and in both cases).
+ // (and even in both cases).
//
- class mxx: public cc::cc
+ class mxx: public file
{
public:
- using cc::cc;
+ using file::file;
public:
static const target_type static_type;