mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 03:32:55 +00:00
Remove explicit in atomic_t constructor
Match with std::atomic C++17 now allows writing std::atomic<int> x = 3;
This commit is contained in:
parent
9a457400e7
commit
11e297c975
@ -575,7 +575,7 @@ protected:
|
||||
type m_data;
|
||||
|
||||
public:
|
||||
atomic_t() = default;
|
||||
atomic_t() noexcept = default;
|
||||
|
||||
atomic_t(const atomic_t&) = delete;
|
||||
|
||||
@ -584,7 +584,7 @@ public:
|
||||
// Define simple type
|
||||
using simple_type = simple_t<T>;
|
||||
|
||||
explicit constexpr atomic_t(const type& value)
|
||||
constexpr atomic_t(const type& value) noexcept
|
||||
: m_data(value)
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user