mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -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
|
* @date 2007-06-20
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
INLINE BlockerSimple::
|
|
||||||
BlockerSimple() {
|
|
||||||
_flags = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
*/
|
*/
|
||||||
class EXPCL_PANDA_PIPELINE BlockerSimple {
|
class EXPCL_PANDA_PIPELINE BlockerSimple {
|
||||||
protected:
|
protected:
|
||||||
INLINE BlockerSimple();
|
constexpr BlockerSimple() = default;
|
||||||
INLINE ~BlockerSimple();
|
INLINE ~BlockerSimple();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@ -38,7 +38,7 @@ protected:
|
|||||||
F_has_waiters = 0x40000000,
|
F_has_waiters = 0x40000000,
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned int _flags;
|
unsigned int _flags = 0;
|
||||||
|
|
||||||
friend class ThreadSimpleManager;
|
friend class ThreadSimpleManager;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user