Closed Bug 1747310 Opened 3 years ago Closed 3 years ago

CID 1495417: move assignment operator for DataBuffer

Categories

(NSS :: Test, enhancement, P5)

3.75
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mt, Assigned: mt)

References

Details

(Whiteboard: [nss-fx])

Attachments

(2 files)

Adding a default value will make some of the assignments cheaper and faster. It will also silence some coverity warnings.

This apparently wasn't run through the CI before landing and seems to break gtest.
https://treeherder.mozilla.org/jobs?repo=nss-try&revision=c66ce0bf4eded5ed30b00f6dd8798dd0fd56bb5

Flags: needinfo?(mt)

Thanks for catching that. It's a simple enough fix.

I should run ASAN builds locally, but I don't because they take far too long thanks to the PSS tests. 15 minutes is not something I usually have patience for. I'll have to do something about that.

Attachment #9257088 - Attachment description: Bug 1747310 - real move assignment operator, r=#nss-reviewers → WIP: Bug 1747310 - real move assignment operator, r=#nss-reviewers
Attachment #9257088 - Attachment description: WIP: Bug 1747310 - real move assignment operator, r=#nss-reviewers → Bug 1747310 - real move assignment operator, r=#nss-reviewers
Flags: needinfo?(mt)
Severity: -- → N/A
Priority: -- → P5
Whiteboard: [nss-fx]
Version: trunk → 3.75

Thank you Martin!

Regressions: 1758478
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: