Closed Bug 1727710 Opened 3 years ago Closed 3 years ago

Rename enum value DirPaddingFile::FILE in dom/cache/FileUtils.h

Categories

(Core :: Storage: Cache API, task, P3)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: jjalkanen, Assigned: hxu)

Details

Attachments

(1 file)

Enumerator value DirPaddingFile::FILE in dom/cache/FileUtils.h is confused with the typename FILE from stdio.h by some compilers and code indexers while working in dom::cache namespace.

To avoid this, the DirPaddingFile::FILE should be renamed along with its usages, see files in https://searchfox.org/mozilla-central/search?q=DirPaddingFile&path=&case=true&regexp=false

Maybe just change it to an enum class.

Assignee: nobody → hxu
Status: NEW → ASSIGNED
Attachment #9239110 - Attachment description: Bug 1727710 - Change DirPaddingFile to enum class. r=janv, a=RyanVM → Bug 1727710 - Change DirPaddingFile enum to enum class; r=#dom-storage
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8d1a0ffd026c
Change DirPaddingFile enum to enum class; r=janv,dom-storage-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: