mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::mods: Fix sym_ptr boolean test.
This commit is contained in:
parent
e11973fb40
commit
a1e1272d9c
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ class ircd::mods::sym_ptr
|
|||
|
||||
public:
|
||||
bool operator!() const;
|
||||
operator bool() const;
|
||||
explicit operator bool() const;
|
||||
|
||||
template<class T> const T *get() const;
|
||||
template<class T> const T *operator->() const;
|
||||
|
@ -106,7 +106,7 @@ inline ircd::mods::sym_ptr::operator
|
|||
bool()
|
||||
const
|
||||
{
|
||||
return !bool(*this);
|
||||
return !operator!();
|
||||
}
|
||||
|
||||
inline bool
|
||||
|
|
Loading…
Reference in a new issue