Skip to content

Commit f2394cf

Browse files
committed
update
1 parent 418f45b commit f2394cf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/generation/cpp-all-features/templates/generate.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ public:
411411
}
412412

413413
// Compute buffer size for encode message header and message body
414+
// TODO: wrong!
414415
[[nodiscard]] static constexpr auto computeBufferSize({%- for field in va_fields %}{{ comma() }}std::size_t count{{ loop.index0 }} = 0{% endfor -%}) -> std::size_t {
415416
{% if va_fields | length > 0 %}
416417
auto bufferSize = std::size_t({{ schema.header_type.encoded_length + message.block_length }}u);

0 commit comments

Comments
 (0)