mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1429904 - Let the compiler implement the FrameKey copy constructor for us. r=njn
MozReview-Commit-ID: 9e9rMkEAyeL --HG-- extra : rebase_source : f803a42699b8daa8cb045db6f4048107f2d2e26e
This commit is contained in:
parent
dfbd63d53c
commit
36aeb88c58
@ -183,21 +183,14 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
FrameKey(const FrameKey& aToCopy)
|
||||
: mLocation(aToCopy.mLocation)
|
||||
, mLine(aToCopy.mLine)
|
||||
, mCategory(aToCopy.mCategory)
|
||||
, mJITAddress(aToCopy.mJITAddress)
|
||||
, mJITDepth(aToCopy.mJITDepth)
|
||||
{
|
||||
}
|
||||
|
||||
FrameKey(const JITAddress& aJITAddress, uint32_t aJITDepth)
|
||||
: mJITAddress(mozilla::Some(aJITAddress))
|
||||
, mJITDepth(mozilla::Some(aJITDepth))
|
||||
{
|
||||
}
|
||||
|
||||
FrameKey(const FrameKey& aToCopy) = default;
|
||||
|
||||
uint32_t Hash() const;
|
||||
bool operator==(const FrameKey& aOther) const;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user