From 92758d4a573c28fad46a316ae7253e6395818848 Mon Sep 17 00:00:00 2001 From: Marcin Copik Date: Sun, 20 Oct 2024 22:09:32 +0000 Subject: [PATCH] [benchmarks] Fix output of benchmark --- benchmarks/latex-service/benchmarker_editing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/latex-service/benchmarker_editing.cpp b/benchmarks/latex-service/benchmarker_editing.cpp index 14a98a5..7474867 100644 --- a/benchmarks/latex-service/benchmarker_editing.cpp +++ b/benchmarks/latex-service/benchmarker_editing.cpp @@ -167,7 +167,7 @@ int main(int argc, char** argv) } { std::ofstream output{fmt::format("output_update_file_{}_praas_{}", j, i)}; - output << invoc.payload; + output << std::string_view{invoc.payload.get(), invoc.payload_len}; } } @@ -202,7 +202,7 @@ int main(int argc, char** argv) } { std::ofstream output{fmt::format("output_get_file_{}_praas_{}", j, i)}; - output << invoc.payload; + output << std::string_view{invoc.payload.get(), invoc.payload_len}; } }