Fix atomics to accept constant
This commit is contained in:
@@ -270,14 +270,14 @@ public:
|
||||
/// </summary>
|
||||
/// <param name="dst">A pointer to the destination value.</param>
|
||||
/// <returns>The function returns the value of the destination parameter.</returns>
|
||||
static int32 AtomicRead(int32 volatile* dst) = delete;
|
||||
static int32 AtomicRead(int32 const volatile* dst) = delete;
|
||||
|
||||
/// <summary>
|
||||
/// Performs an atomic 64-bit variable read operation on the specified values.
|
||||
/// </summary>
|
||||
/// <param name="dst">A pointer to the destination value.</param>
|
||||
/// <returns>The function returns the value of the destination parameter.</returns>
|
||||
static int64 AtomicRead(int64 volatile* dst) = delete;
|
||||
static int64 AtomicRead(int64 const volatile* dst) = delete;
|
||||
|
||||
/// <summary>
|
||||
/// Sets a 32-bit variable to the specified value as an atomic operation.
|
||||
|
||||
Reference in New Issue
Block a user