diff --git a/benchmarks/conversion_speed/include/ztd/text/benchmarks/fast_transcode.ztd.text.hpp b/benchmarks/conversion_speed/include/ztd/text/benchmarks/fast_transcode.ztd.text.hpp index 28888acd..1cba72c9 100644 --- a/benchmarks/conversion_speed/include/ztd/text/benchmarks/fast_transcode.ztd.text.hpp +++ b/benchmarks/conversion_speed/include/ztd/text/benchmarks/fast_transcode.ztd.text.hpp @@ -188,7 +188,7 @@ auto text_transcode(::ztd::tag, ztd::span from_state, to_state, pivot); return TranscodeResult(basic_result.input, basic_result.output.begin(), from_state, to_state, basic_result.error_code, basic_result.error_count, std::forward(pivot), - ztd::text::encoding_error::ok, 0); + basic_result.pivot_error_code, basic_result.pivot_error_count); } } @@ -241,7 +241,8 @@ auto text_transcode(::ztd::tag, ztd::span ::std::forward(from_error_handler), ::std::forward(to_error_handler), from_state, to_state, pivot); return TranscodeResult(basic_result.input, basic_result.output, from_state, to_state, basic_result.error_code, - basic_result.error_count, std::forward(pivot), ztd::text::encoding_error::ok, 0); + basic_result.error_count, std::forward(pivot), basic_result.pivot_error_code, + basic_result.pivot_error_count); } #endif