Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove workaround for missing std::atomic_thread_fence
Fix compilation error with gcc Linux. std::memory_order is an enum class, not an enum, which removes implicit conversions in C++20. Compilers that support C++20 should contain the fix for the libstdc++ bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51038), so removing the workaround in atomicops_internals_portable.h should be fine. Bug: 339934812 Change-Id: Ie4f6f4de26b084ff33330db7d87c7881db223a62 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/mini_chromium/+/5514410 Reviewed-by: danakj <danakj@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
- Loading branch information