mirror of
https://github.com/matrix-construct/construct
synced 2024-11-20 00:33:15 +01:00
ircd:Ⓜ️:v1: Default ctors for all classes.
This commit is contained in:
parent
2ec4bd025f
commit
d50714ab7d
8 changed files with 9 additions and 0 deletions
|
@ -28,6 +28,7 @@ struct ircd::m::v1::backfill
|
|||
|
||||
backfill(const room::id &, const mutable_buffer &, opts);
|
||||
backfill(const room::id &, const mutable_buffer &);
|
||||
backfill() = default;
|
||||
};
|
||||
|
||||
struct ircd::m::v1::backfill::opts
|
||||
|
|
|
@ -35,6 +35,7 @@ struct ircd::m::v1::event
|
|||
|
||||
event(const m::event::id &, const mutable_buffer &, opts);
|
||||
event(const m::event::id &, const mutable_buffer &);
|
||||
event() = default;
|
||||
};
|
||||
|
||||
struct ircd::m::v1::event::opts
|
||||
|
|
|
@ -28,6 +28,7 @@ struct ircd::m::v1::make_join
|
|||
|
||||
make_join(const room::id &, const user::id &, const mutable_buffer &, opts);
|
||||
make_join(const room::id &, const user::id &, const mutable_buffer &);
|
||||
make_join() = default;
|
||||
};
|
||||
|
||||
struct ircd::m::v1::make_join::opts
|
||||
|
|
|
@ -30,6 +30,7 @@ struct ircd::m::v1::query
|
|||
}
|
||||
|
||||
query(const string_view &type, const string_view &args, const mutable_buffer &, opts);
|
||||
query() = default;
|
||||
};
|
||||
|
||||
struct ircd::m::v1::query::opts
|
||||
|
|
|
@ -35,6 +35,8 @@ struct ircd::m::v1::send
|
|||
const const_buffer &content, // full transaction (HTTP content out)
|
||||
const mutable_buffer &head, // buffer for HTTP head in and out
|
||||
opts); // options structure
|
||||
|
||||
send() = default;
|
||||
};
|
||||
|
||||
/// Options for a federation send request.
|
||||
|
|
|
@ -27,6 +27,7 @@ struct ircd::m::v1::send_join
|
|||
}
|
||||
|
||||
send_join(const room::id &, const user::id &, const const_buffer &, const mutable_buffer &, opts);
|
||||
send_join() = default;
|
||||
};
|
||||
|
||||
struct ircd::m::v1::send_join::opts
|
||||
|
|
|
@ -28,6 +28,7 @@ struct ircd::m::v1::state
|
|||
|
||||
state(const room::id &, const mutable_buffer &, opts);
|
||||
state(const room::id &, const mutable_buffer &);
|
||||
state() = default;
|
||||
};
|
||||
|
||||
struct ircd::m::v1::state::opts
|
||||
|
|
|
@ -27,6 +27,7 @@ struct ircd::m::v1::version
|
|||
}
|
||||
|
||||
version(const mutable_buffer &, opts);
|
||||
version() = default;
|
||||
};
|
||||
|
||||
struct ircd::m::v1::version::opts
|
||||
|
|
Loading…
Reference in a new issue