Skip to content

Commit dd59ac8

Browse files
committed
fix(field): wrong container type for bytes_field
Signed-off-by: PragmaTwice <twice@apache.org>
1 parent c81bb3b commit dd59ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/protopuf/field.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ namespace pp {
211211
using string_field = field<S, N, string_coder, A, Container>;
212212

213213
/// Type alias for bytes fields
214-
template <basic_fixed_string S, uint<4> N, attribute A = singular, typename Container = std::vector<std::vector<std::byte>>>
214+
template <basic_fixed_string S, uint<4> N, attribute A = singular, typename Container = std::vector<std::vector<uint<1>>>>
215215
using bytes_field = field<S, N, bytes_coder, A, Container>;
216216

217217
/// Type alias for boolean fields

0 commit comments

Comments
 (0)