[*] MSVC isn't always inlining lock guards
This commit is contained in:
parent
7477bfe56f
commit
595846cb75
@ -29,7 +29,7 @@ namespace Aurora::Threading
|
||||
|
||||
public:
|
||||
|
||||
LockGuard(const T &lock)
|
||||
auline LockGuard(const T &lock)
|
||||
{
|
||||
ConstlessPtr_t pInterface {};
|
||||
if constexpr (AuIsPointer_v<T>)
|
||||
@ -57,7 +57,7 @@ namespace Aurora::Threading
|
||||
this->pAnnoying_ = pInterface;
|
||||
}
|
||||
|
||||
~LockGuard()
|
||||
auline ~LockGuard()
|
||||
{
|
||||
if (!this->pAnnoying_)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user