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:
parent
1e7c0daed2
commit
d99b927c4a
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
{}
|
||||
|
||||
|
|
Loading…
Reference in a new issue