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

RESOLVED FIXED in mozilla24

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: froydnj, Unassigned)

Tracking

unspecified
mozilla24
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
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
(Reporter)

Comment 1

5 years ago
Created attachment 748211 [details] [diff] [review]
fix clang warning about class/struct mismatch for JS::RuntimeStats
Attachment #748211 - Flags: review?(bzbarsky)
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+
https://hg.mozilla.org/mozilla-central/rev/7c110197cd1a
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.