mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
ConnProperties: use std atomic
This commit is contained in:
@ -18,7 +18,7 @@ with this program. If not, see <https://www.gnu.org/licenses/>
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <boost/atomic.hpp>
|
#include <atomic>
|
||||||
|
|
||||||
class ConnectionProperties
|
class ConnectionProperties
|
||||||
{
|
{
|
||||||
@ -27,5 +27,5 @@ public:
|
|||||||
bool isAuthenticated();
|
bool isAuthenticated();
|
||||||
void setAuthenticated(bool authenticated);
|
void setAuthenticated(bool authenticated);
|
||||||
private:
|
private:
|
||||||
boost::atomic<bool> _authenticated;
|
std::atomic<bool> _authenticated;
|
||||||
};
|
};
|
Reference in New Issue
Block a user