WTF: Unify std::string specializations of CrossThreadCopier and avoid ODR violations.
It is an ODR violation for conflicting specializations for std::string to exist. Since this is safe and reasonable, write a single std::basic_string<...> specialization in cross_thread_copier.h to apply to std::string (and, should it come up in the future, other specializations of basic_string). Change-Id: I39b796aaf4c86edc00f46239da008e15110cebc2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1743100 Auto-Submit: Jeremy Roman <jbroman@chromium.org> Commit-Queue: Kentaro Hara <haraken@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#685483}
Showing
Please register or sign in to comment