0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd::db: Minor move attribute.

This commit is contained in:
Jason Volk 2019-05-07 23:05:18 -07:00
parent 65b1f8d709
commit 41d60ec2f7
2 changed files with 2 additions and 2 deletions

View file

@ -64,8 +64,7 @@ struct ircd::db::row
const string_view &key = {},
const vector_view<const string_view> &columns = {},
const vector_view<cell> &buf = {},
gopts opts = {})
__attribute__((stack_protect));
gopts opts = {});
};
namespace ircd::db

View file

@ -4474,6 +4474,7 @@ ircd::db::seek(row &r,
//
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstack-usage="
__attribute__((stack_protect))
ircd::db::row::row(database &d,
const string_view &key,
const vector_view<const string_view> &colnames,