mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
pipeline: make BlockerSimple constexpr (needed by MutexSimpleImpl)
This commit is contained in:
parent
fbf939141b
commit
0c9c698d13
@ -11,14 +11,6 @@
|
||||
* @date 2007-06-20
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
INLINE BlockerSimple::
|
||||
BlockerSimple() {
|
||||
_flags = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
@ -28,7 +28,7 @@
|
||||
*/
|
||||
class EXPCL_PANDA_PIPELINE BlockerSimple {
|
||||
protected:
|
||||
INLINE BlockerSimple();
|
||||
constexpr BlockerSimple() = default;
|
||||
INLINE ~BlockerSimple();
|
||||
|
||||
protected:
|
||||
@ -38,7 +38,7 @@ protected:
|
||||
F_has_waiters = 0x40000000,
|
||||
};
|
||||
|
||||
unsigned int _flags;
|
||||
unsigned int _flags = 0;
|
||||
|
||||
friend class ThreadSimpleManager;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user