command/*: use std::span instead of ConstBuffer

This commit is contained in:
Max Kellermann
2022-07-04 18:38:57 +02:00
parent baff5e5594
commit 9b427b3171
12 changed files with 118 additions and 78 deletions

View File

@@ -277,7 +277,7 @@ handle_update(Client &client, Request args, Response &r, bool discard)
#ifdef ENABLE_DATABASE
const char *path = "";
assert(args.size <= 1);
assert(args.size() <= 1);
if (!args.empty()) {
path = args.front();