diff --git a/cpp/arcticdb/codec/encoded_field.hpp b/cpp/arcticdb/codec/encoded_field.hpp index 1f04dcdc53..e93518f9dc 100644 --- a/cpp/arcticdb/codec/encoded_field.hpp +++ b/cpp/arcticdb/codec/encoded_field.hpp @@ -439,18 +439,18 @@ struct formatter { template auto format(const arcticdb::EncodedFieldImpl& field, FormatContext &ctx) const { const char* label = field.has_ndarray() ? "NDARRAY\n" : "DICT\n"; - format_to(ctx.out(), "{}", label); + fmt::format_to(ctx.out(), "{}", label); - format_to(ctx.out(), "Shapes: {}\n", field.shapes_size()); + fmt::format_to(ctx.out(), "Shapes: {}\n", field.shapes_size()); for(const auto& shape : field.shapes()) { - format_to(ctx.out(), "\tCodec: {} in_bytes: {}, out_bytes {}\n", arcticdb::codec_type_to_string(shape.codecs_[0].codec_), shape.in_bytes(), shape.out_bytes()); + fmt::format_to(ctx.out(), "\tCodec: {} in_bytes: {}, out_bytes {}\n", arcticdb::codec_type_to_string(shape.codecs_[0].codec_), shape.in_bytes(), shape.out_bytes()); } - format_to(ctx.out(), "Values: {}\n", field.values_size()); + fmt::format_to(ctx.out(), "Values: {}\n", field.values_size()); for(const auto& value : field.values()) { - format_to(ctx.out(), "\tCodec: {} in_bytes: {}, out_bytes {}\n", arcticdb::codec_type_to_string(value.codecs_[0].codec_), value.in_bytes(), value.out_bytes()); + fmt::format_to(ctx.out(), "\tCodec: {} in_bytes: {}, out_bytes {}\n", arcticdb::codec_type_to_string(value.codecs_[0].codec_), value.in_bytes(), value.out_bytes()); } - return format_to(ctx.out(), "\n"); + return fmt::format_to(ctx.out(), "\n"); } };