diff options
author | John Hodge <tpg@mutabah.net> | 2016-05-14 10:59:18 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-05-14 10:59:18 +0800 |
commit | f043a45fd21bab906cafc8964a892a64def65ec9 (patch) | |
tree | 63217329f82a015cff4fc6e78e37be606065ff64 /src/hir/path.hpp | |
parent | 432892ea9ce604b6d12d6b087ad6328eb335f70c (diff) | |
download | mrust-f043a45fd21bab906cafc8964a892a64def65ec9.tar.gz |
Remove requirement for all variants of tagged unions to be empty-constructable
Diffstat (limited to 'src/hir/path.hpp')
-rw-r--r-- | src/hir/path.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir/path.hpp b/src/hir/path.hpp index cf17be17..62c70ce2 100644 --- a/src/hir/path.hpp +++ b/src/hir/path.hpp @@ -40,6 +40,9 @@ class Path // Two possibilities // - UFCS // - Generic path +public: + Path(GenericPath _); + Path(SimplePath _); }; } // namespace HIR |