aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-14 15:17:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-14 15:17:37 +0200
commitffc328ca2e7d2d86b8ca49d5e2684608eb84302a (patch)
tree838be8289b1db0f29942cf208604655ed281f5ae /bdep/project.hxx
parent992ca1ad2be63adf6f5c1908d27a0e3deeb0f86f (diff)
Work around ODB type aliasing issue
Diffstat (limited to 'bdep/project.hxx')
-rw-r--r--bdep/project.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bdep/project.hxx b/bdep/project.hxx
index cf96c0b..9e68108 100644
--- a/bdep/project.hxx
+++ b/bdep/project.hxx
@@ -70,7 +70,9 @@ namespace bdep
// Since it is not always possible to derive a relative path, it is
// optional.
//
- optional<uint64_t> id;
+ using id_type = optional<uint64_t>;
+
+ id_type id;
optional<string> name;
dir_path path;
optional<dir_path> relative_path;