mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
logs.hpp: fix fatal typo
This commit is contained in:
parent
f0c4aa6777
commit
de94f6c2f6
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ namespace logs
|
||||||
|
|
||||||
operator level() const
|
operator level() const
|
||||||
{
|
{
|
||||||
return level(reinterpret_cast<uptr>(this) & 7);
|
return level(uchar(reinterpret_cast<uptr>(this) & 7));
|
||||||
}
|
}
|
||||||
|
|
||||||
const channel* operator->() const
|
const channel* operator->() const
|
||||||
|
@ -125,7 +125,7 @@ namespace logs
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
FORCE_INLINE SAFE_BUFFERS(void) message::operator()(const const_str& fmt, const Args&... args) const
|
FORCE_INLINE SAFE_BUFFERS(void) message::operator()(const const_str& fmt, const Args&... args) const
|
||||||
{
|
{
|
||||||
if (*this < (*this)->enabled) [[unlikely]]
|
if (*this <= (*this)->enabled.observe()) [[unlikely]]
|
||||||
{
|
{
|
||||||
if constexpr (sizeof...(Args) > 0)
|
if constexpr (sizeof...(Args) > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue