Closed Bug 1405417 Opened 8 years ago Closed 8 years ago

Ambiguous typename in ipc/mscom/PassthruProxy.h

Categories

(Core :: IPC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

(Blocks 1 open bug)

Details

(Whiteboard: [tor])

Attachments

(1 file)

> In file included from /builds/worker/workspace/build/src/ipc/mscom/PassthruProxy.cpp:7:0, > from /builds/worker/workspace/build/src/obj-firefox/ipc/mscom/Unified_cpp_ipc_mscom0.cpp:47: > /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/mscom/PassthruProxy.h: In static member function 'static RefPtr<T> mozilla::mscom::PassthruProxy::Wrap(mozilla::NotNull<Iface*>)': > /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/mscom/PassthruProxy.h:43:5: error: need 'typename' before 'mozilla::mscom::detail::EnvironmentSelector<Iface>::Type' because 'mozilla::mscom::detail::EnvironmentSelector<Iface>' is a dependent scope > detail::EnvironmentSelector<Iface>::Type env; > ^~~~~~ Fixed by adding the 'typename' keyword per https://stackoverflow.com/questions/3311633/nested-templates-with-dependent-scope#3311640
Attachment #8914849 - Flags: review?(aklotz)
Comment on attachment 8914849 [details] Bug 1405417 Add typename keyword in ipc/mscom/PassthruProxy.h to resolve ambiguity around member type https://reviewboard.mozilla.org/r/186118/#review191172
Attachment #8914849 - Flags: review?(aklotz) → review+
Pushed by aklotz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b0c2046983c6 Add typename keyword in ipc/mscom/PassthruProxy.h to resolve ambiguity around member type r=aklotz
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: