Should be
`totalValid.store(orig.totalValid.load(std::memory_order_acquire),std::memory_order_release);`