mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 23:34:57 -04:00
dtoolbase: Compilation fix for broken STLs without atomic::value_type
This commit is contained in:
parent
ba4173b32c
commit
c356285212
@ -103,6 +103,8 @@ using patomic = std::atomic<T>;
|
||||
*/
|
||||
class EXPCL_DTOOL_DTOOLBASE patomic_unsigned_lock_free : public patomic<uint32_t> {
|
||||
public:
|
||||
typedef uint32_t value_type;
|
||||
|
||||
constexpr patomic_unsigned_lock_free() noexcept;
|
||||
constexpr patomic_unsigned_lock_free(uint32_t desired) noexcept;
|
||||
|
||||
@ -116,6 +118,8 @@ public:
|
||||
*/
|
||||
class EXPCL_DTOOL_DTOOLBASE patomic_signed_lock_free : public patomic<int32_t> {
|
||||
public:
|
||||
typedef int32_t value_type;
|
||||
|
||||
constexpr patomic_signed_lock_free() noexcept;
|
||||
constexpr patomic_signed_lock_free(int32_t desired) noexcept;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user