0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-14 00:34:18 +01:00

ircd::db: Allow empty delta value with default argument param.

This commit is contained in:
Jason Volk 2017-09-08 01:35:11 -07:00
parent 1e7c0daed2
commit d99b927c4a

View file

@ -51,7 +51,7 @@ namespace ircd::db
struct ircd::db::delta
:std::tuple<op, string_view, string_view, string_view>
{
delta(const string_view &col, const string_view &key, const string_view &val, const enum op &op = op::SET)
delta(const string_view &col, const string_view &key, const string_view &val = {}, const enum op &op = op::SET)
:std::tuple<enum op, string_view, string_view, string_view>{op, col, key, val}
{}