GCC: avoid WTF vector backed linked list template specialization
GCC refuses to compile the recently added ConstructAndNotifyElementImpl Construct method, that gets a template specialization inside the struct namespace. This is not working in GCC. To avoid that, we avoid the template specialization using a new struct for when type is garbage collected, and select the struct with std::conditional. Bug: 819294 Change-Id: Ibd88999c2667b1130c0132864ec692b1e0a8fbc6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2304575Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: José Dapena Paz <jdapena@igalia.com> Cr-Commit-Position: refs/heads/master@{#790746}
Showing
Please register or sign in to comment