Value of type 'std::memory_order' is not implicitly convertible to 'int'

Thanks Jan, I’ve raised an internal issue to track this.