mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00

gcc -std=c++20 (but not clang -std=c++20) complains about template class definitions that specify the template parameter on the class constructor. In file included from /builds/worker/workspace/obj-build/dist/include/nsDisplayList.h:43, from /builds/worker/workspace/obj-build/dist/include/mozilla/layout/RemoteLayerTreeOwner.h:17, from /builds/worker/workspace/obj-build/dist/include/mozilla/dom/BrowserParent.h:23, from /builds/worker/checkouts/gecko/accessible/ipc/other/RemoteAccessible.cpp:13: /builds/worker/workspace/obj-build/dist/include/mozilla/layers/BSPTree.h:30:18: error: expected ')' before '*' token | BSPPolygon<T>(T* aData, gfx::Polygon&& aGeometry) | ~ ^ Differential Revision: https://phabricator.services.mozilla.com/D149813