mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +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:
|
public:
|
||||||
bool operator!() const;
|
bool operator!() const;
|
||||||
operator bool() const;
|
explicit operator bool() const;
|
||||||
|
|
||||||
template<class T> const T *get() const;
|
template<class T> const T *get() const;
|
||||||
template<class T> const T *operator->() const;
|
template<class T> const T *operator->() const;
|
||||||
|
@ -106,7 +106,7 @@ inline ircd::mods::sym_ptr::operator
|
||||||
bool()
|
bool()
|
||||||
const
|
const
|
||||||
{
|
{
|
||||||
return !bool(*this);
|
return !operator!();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool
|
inline bool
|
||||||
|
|
Loading…
Reference in a new issue