This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit 8f17292db58cf36756557641dc06c34d6016b7ca Author: chaokunyang <[email protected]> AuthorDate: Tue Feb 3 16:32:50 2026 +0000 🔄 synced local 'docs/guide/' with remote 'docs/guide/' --- docs/guide/cpp/custom-serializers.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/guide/cpp/custom-serializers.md b/docs/guide/cpp/custom-serializers.md index 4a1a1ece30..8441537152 100644 --- a/docs/guide/cpp/custom-serializers.md +++ b/docs/guide/cpp/custom-serializers.md @@ -58,7 +58,7 @@ struct Serializer<MyExt> { (void)has_generics; write_not_null_ref_flag(ctx, ref_mode); if (write_type) { - auto result = ctx.write_any_typeinfo( + auto result = ctx.write_any_type_info( static_cast<uint32_t>(TypeId::UNKNOWN), std::type_index(typeid(MyExt))); if (!result.ok()) { @@ -88,7 +88,7 @@ struct Serializer<MyExt> { return MyExt{}; } if (read_type) { - const TypeInfo *type_info = ctx.read_any_typeinfo(ctx.error()); + const TypeInfo *type_info = ctx.read_any_type_info(ctx.error()); if (ctx.has_error()) { return MyExt{}; } @@ -190,7 +190,7 @@ struct Serializer<CustomType> { (void)has_generics; write_not_null_ref_flag(ctx, ref_mode); if (write_type) { - auto result = ctx.write_any_typeinfo( + auto result = ctx.write_any_type_info( static_cast<uint32_t>(TypeId::UNKNOWN), std::type_index(typeid(CustomType))); if (!result.ok()) { @@ -220,7 +220,7 @@ struct Serializer<CustomType> { return CustomType{}; } if (read_type) { - const TypeInfo *type_info = ctx.read_any_typeinfo(ctx.error()); + const TypeInfo *type_info = ctx.read_any_type_info(ctx.error()); if (ctx.has_error()) { return CustomType{}; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
