aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cxx')
-rw-r--r--build2/cxx/target4
-rw-r--r--build2/cxx/target.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/build2/cxx/target b/build2/cxx/target
index 0239c25..d581caf 100644
--- a/build2/cxx/target
+++ b/build2/cxx/target
@@ -48,10 +48,10 @@ namespace build2
virtual const target_type& dynamic_type () const {return static_type;}
};
- class cxx: public file
+ class cxx: public cc::cc
{
public:
- using file::file;
+ using cc::cc;
public:
static const target_type static_type;
diff --git a/build2/cxx/target.cxx b/build2/cxx/target.cxx
index 30afd89..e9733a8 100644
--- a/build2/cxx/target.cxx
+++ b/build2/cxx/target.cxx
@@ -52,7 +52,7 @@ namespace build2
const target_type cxx::static_type
{
"cxx",
- &file::static_type,
+ &cc::static_type,
&target_factory<cxx>,
&target_extension_var<ext_var, cxx_ext_def>,
nullptr,