Closed Bug 1658873 Opened 4 years ago Closed 4 years ago

Support variable declaration containing commas in QM_TRY_VAR

Categories

(Core :: Storage: Quota Manager, task, P2)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: janv, Assigned: janv)

Details

Attachments

(1 file)

This will allow syntax like this:

Result<std::pair<nsCOMPtr<mozIStorageConnection>, bool>, nsresult>
CreateLocalStorageArchiveConnection();

QM_TRY_VAR((auto [connection, newlyCreated]),
            CreateLocalStorageArchiveConnection());
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5c1518782f4b
Support variable declaration containing commas in QM_TRY_VAR; r=dom-workers-and-storage-reviewers,ttung
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: