mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Replace Remaining Types
Somehow a few size_t slipped through https://github.com/official-stockfish/Stockfish/pull/6874 closes https://github.com/official-stockfish/Stockfish/pull/6897 No functional change
This commit is contained in:
+1
-1
@@ -349,7 +349,7 @@ template<typename T>
|
||||
class RelaxedAtomic {
|
||||
static constexpr bool UseAtomic =
|
||||
#ifdef USE_SLOPPY_ATOMICS
|
||||
!std::atomic<T>::is_always_lock_free || sizeof(T) > sizeof(size_t);
|
||||
!std::atomic<T>::is_always_lock_free || sizeof(T) > sizeof(usize);
|
||||
#else
|
||||
true;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user