Open Bug 1249728 Opened 4 years ago Updated 4 years ago

make the nondebug ctors for DebugOnly constexpr

Categories

(Core :: MFBT, defect)

defect
Not set

Tracking

()

People

(Reporter: tbsaunde, Unassigned, NeedInfo)

Details

Attachments

(1 file)

No description provided.
Attachment #8721404 - Flags: review?(nfroyd) → review+
Backed out for bustage:

Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/7926861aed22

Push with bustage: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=5f729d20fd00
Failure log: http://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-inbound-macosx64/1455915085/mozilla-inbound-macosx64-bm82-build1-build4458.txt.gz

12:58:22     INFO -  /builds/slave/m-in-m64-000000000000000000000/build/src/obj-firefox/x86_64/dist/include/nsILoadInfo.h:172:34: error: unused variable 'rv' [-Werror,-Wunused-variable]
12:58:22     INFO -      mozilla::DebugOnly<nsresult> rv = GetDontFollowRedirects(&result);
12:58:22     INFO -                                   ^
12:58:22     INFO -  fatal error: too many errors emitted, stopping now [-ferror-limit=]
12:58:22     INFO -  20 errors generated.
12:58:22     INFO -  make[6]: *** [Unified_cpp_dom_presentation0.o] Error 1
12:58:22     INFO -  make[5]: *** [dom/presentation/target] Error 2
12:58:22     INFO -  make[4]: *** [compile] Error 2
12:58:22     INFO -  make[3]: *** [default] Error 2
12:58:22     INFO -  make[2]: *** [realbuild] Error 2
12:58:22     INFO -  make[1]: *** [realbuild] Error 2
12:58:22     INFO -  make: *** [build] Error 2
Flags: needinfo?(tbsaunde+mozbugs)
You need to log in before you can comment on or make changes to this bug.