aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/spec.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/spec.hxx')
-rw-r--r--libbuild2/spec.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/spec.hxx b/libbuild2/spec.hxx
index 3a760c6..d2ed609 100644
--- a/libbuild2/spec.hxx
+++ b/libbuild2/spec.hxx
@@ -16,7 +16,7 @@ namespace build2
{
struct targetspec
{
- typedef build2::name name_type;
+ using name_type = build2::name;
explicit
targetspec (name_type n): name (move (n)) {}
@@ -52,7 +52,7 @@ namespace build2
values params;
};
- typedef vector<metaopspec> buildspec;
+ using buildspec = vector<metaopspec>;
LIBBUILD2_SYMEXPORT ostream&
operator<< (ostream&, const targetspec&);