Bug 1542830: Part 5 - Make ModuleVersion copyable and movable; r=mhowell

The `const` qualifier on `mVersion` was preventing move and copy, which we
now need this class to support.

Differential Revision: https://phabricator.services.mozilla.com/D43159

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Aaron Klotz 2019-09-20 19:43:51 +00:00
Родитель 8d1be668f6
Коммит 3ce4b535b6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -573,7 +573,7 @@ class ModuleVersion final {
bool operator<(const uint64_t& aOther) const { return mVersion < aOther; }
private:
const uint64_t mVersion;
uint64_t mVersion;
};
inline LauncherResult<ModuleVersion> GetModuleVersion(