Adapt FS to tl::identifier no longer having an invalid value
This commit was merged in pull request #1.
This commit is contained in:
@@ -23,7 +23,7 @@ public:
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// New API
|
||||
|
||||
TL_DECLARE_INTEGRAL_ID(PackId, uint64_t, 0)
|
||||
TL_DECLARE_INTEGRAL_ID(PackId, uint64_t)
|
||||
|
||||
tl::result<PackId> mountFront(AbsPath mountPoint, tl::unique_ref<IPack> pack);
|
||||
tl::result<PackId> mountBack(AbsPath mountPoint, tl::unique_ref<IPack> pack);
|
||||
@@ -74,8 +74,9 @@ private:
|
||||
tl::unique_ref<IPack> pack;
|
||||
AbsPath mountPoint;
|
||||
|
||||
explicit PackData(tl::unique_ref<IPack>&& pack) noexcept
|
||||
explicit PackData(tl::unique_ref<IPack>&& pack, PackId i_packId) noexcept
|
||||
: pack(std::move(pack))
|
||||
, id(i_packId)
|
||||
{}
|
||||
|
||||
PackData(PackData&& other) noexcept = default;
|
||||
|
||||
Reference in New Issue
Block a user