aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-15 11:51:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-15 11:51:12 +0200
commit1a11fe37115dedb973fa5f3bb7fe62de9d7bd615 (patch)
treed0ed35549c5034407a40d6a657fb2b1950ce10b2 /bdep/project.hxx
parentffc328ca2e7d2d86b8ca49d5e2684608eb84302a (diff)
Workaround for few compiler warnings
Diffstat (limited to 'bdep/project.hxx')
-rw-r--r--bdep/project.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/bdep/project.hxx b/bdep/project.hxx
index 9e68108..2b1894c 100644
--- a/bdep/project.hxx
+++ b/bdep/project.hxx
@@ -26,6 +26,8 @@ void assert (int);
namespace bdep
{
+ using optional_uint64_t = optional<uint64_t>;
+
using optional_string = optional<string>;
using optional_dir_path = optional<dir_path>;
@@ -70,12 +72,10 @@ namespace bdep
// Since it is not always possible to derive a relative path, it is
// optional.
//
- using id_type = optional<uint64_t>;
-
- id_type id;
- optional<string> name;
+ optional_uint64_t id;
+ optional_string name;
dir_path path;
- optional<dir_path> relative_path;
+ optional_dir_path relative_path;
bool default_;