diff options
author | Chris Robinson <[email protected]> | 2018-12-30 21:58:14 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-30 21:58:14 -0800 |
commit | 5e03941701c112083b5dce14257fd8c51262f04f (patch) | |
tree | e60fe1ba85f1d42e0f2b574360713842769df135 /OpenAL32 | |
parent | 9f5c9a2260849240bd680b8fdf533acdef7f9de1 (diff) |
Use an atomic bool on things that only take true or false
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 5e53a047..e3f24829 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -666,7 +666,7 @@ using POSTPROCESS = void(*)(ALCdevice *device, ALsizei SamplesToDo); struct ALCdevice_struct { RefCount ref{1u}; - std::atomic<ALenum> Connected{AL_TRUE}; + std::atomic<bool> Connected{true}; const DeviceType Type{}; ALuint Frequency{}; |