0
0
Fork 0
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:
Jason Volk 2018-05-25 22:41:17 -07:00
parent e11973fb40
commit a1e1272d9c

View file

@ -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