0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd::db: Explicit bool cast for column.

This commit is contained in:
Jason Volk 2018-03-10 14:21:22 -08:00
parent 94716e5ea7
commit 046029725a

View file

@ -94,7 +94,7 @@ struct ircd::db::column
explicit operator database &(); explicit operator database &();
explicit operator database::column &(); explicit operator database::column &();
operator bool() const { return bool(c); } explicit operator bool() const { return bool(c); }
bool operator!() const { return !c; } bool operator!() const { return !c; }
// [GET] Iterations // [GET] Iterations