diff --git a/bytes_ostream.hh b/bytes_ostream.hh index 8c55c7d8fe..74f84dbe84 100644 --- a/bytes_ostream.hh +++ b/bytes_ostream.hh @@ -130,6 +130,10 @@ public: return place_holder{alloc(sizeof(T))}; } + value_type* write_place_holder(size_type size) { + return alloc(size); + } + // Writes given sequence of bytes inline void write(bytes_view v) { if (v.empty()) {