mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 01:08:21 +00:00
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. Depends on D43158 Differential Revision: https://phabricator.services.mozilla.com/D43159 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
fccd6eb9ba
commit
4cd7d7d045
@ -556,7 +556,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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user