aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/spec.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-03 09:16:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-03 09:16:21 +0200
commit2650fe1faaee8202cb7361f2e8cf0c790c3fd946 (patch)
tree16efdbbf55d9ffd4676e287a50e111fb043b4bff /libbuild2/spec.hxx
parent1cc657a1ae2d496c0467a7c33257aa3cd2bfc3a8 (diff)
Get rid of remaining typedef's
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&);