to be returned using seastar::future<...> the value type should satisfy
std::is_nothrow_constructible<T>.
with this change, pg_pool_t will be nothrow_constructible. and hence
can be returned using seastar::future<pg_pool_t>. otherwise
std::is_nothrow_constructible<pg_pool_t>::value would be false.
Signed-off-by: Kefu Chai <kchai@redhat.com>
o.back()->insert(hobject_t("qwer", "", CEPH_NOSNAP, 456, 1, ""));
}
-HitSet::Params::Params(const Params& o)
+HitSet::Params::Params(const Params& o) noexcept
{
if (o.get_type() != TYPE_NONE) {
create_impl(o.get_type());
return TYPE_NONE;
}
- Params(const Params& o);
+ Params(const Params& o) noexcept;
const Params& operator=(const Params& o);
void encode(bufferlist &bl) const;