Commit d2600ef7 authored by Maged Michael's avatar Maged Michael Committed by Facebook Github Bot

DeterministicSchedule: Fix namespace for default_failure_memory_order

Reviewed By: djwatson

Differential Revision: D7571438

fbshipit-source-id: 1484e5e323c7d57a96ad66d46fd999ce51e69951
parent dfd3d1ef
......@@ -230,7 +230,7 @@ struct DeterministicAtomic {
T v1,
std::memory_order mo = std::memory_order_seq_cst) noexcept {
return compare_exchange_strong(
v0, v1, mo, detail::default_failure_memory_order(mo));
v0, v1, mo, ::folly::detail::default_failure_memory_order(mo));
}
bool compare_exchange_strong(
T& v0,
......@@ -252,7 +252,7 @@ struct DeterministicAtomic {
T v1,
std::memory_order mo = std::memory_order_seq_cst) noexcept {
return compare_exchange_weak(
v0, v1, mo, detail::default_failure_memory_order(mo));
v0, v1, mo, ::folly::detail::default_failure_memory_order(mo));
}
bool compare_exchange_weak(
T& v0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment