Closed Bug 1298151 Opened 3 years ago Closed 3 years ago

clang-cl warning: fields initialized out of order in platform-win32.cc

Categories

(Core :: Gecko Profiler, defect)

All
Windows
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

References

Details

Attachments

(1 file)

clang-cl complains thusly:

17:05.88 c:/m-c/tools/profiler/core/platform-win32.cc(88,9):  warning: field 'interval_' will be initialized after field 'sampler_' [-Wreorder]
17:05.88       , interval_(interval)
17:05.88         ^
Assignee: nobody → nfroyd
Attachment #8789762 - Flags: review?(bgirard) → review+
Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9c33c831031f
fix member initialization order in platform-win32.cc; r=BenWa
https://hg.mozilla.org/mozilla-central/rev/9c33c831031f
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.