The variant with only one arg was added in c++17.
Signed-off-by: Sage Weil <sage@redhat.com>
};
// The contiguous_filler is supposed to be not costlier than a single
// pointer. Keep it dumb, please.
- static_assert(sizeof(contiguous_filler) == sizeof(char*));
+ static_assert(sizeof(contiguous_filler) == sizeof(char*),
+ "contiguous_filler should be no costlier than pointer");
class page_aligned_appender {
bufferlist *pbl;