Closed Bug 871007 Opened 13 years ago Closed 12 years ago

fix clang warning about class/struct mismatch for JS::RuntimeStats

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: froydnj, Unassigned)

Details

Attachments

(1 file)

In file included from /opt/build/froydnj/build-mc/dom/bindings/BatteryManagerBinding.cpp:9: /home/froydnj/src/mozilla-central-official.git/dom/workers/WorkerPrivate.h:44:16: warning: class 'RuntimeStats' was previously declared as a struct [-Wmismatched-tags] namespace JS { class RuntimeStats; } ^ ../../dist/include/js/MemoryMetrics.h:361:8: note: previous use is here struct RuntimeStats ^ /home/froydnj/src/mozilla-central-official.git/dom/workers/WorkerPrivate.h:44:16: note: did you mean struct here? namespace JS { class RuntimeStats; } ^~~~~ struct
Comment on attachment 748211 [details] [diff] [review] fix clang warning about class/struct mismatch for JS::RuntimeStats r=me
Attachment #748211 - Flags: review?(bzbarsky) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: