aboutsummaryrefslogtreecommitdiff
path: root/src/bench/load_external.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/load_external.cpp')
-rw-r--r--src/bench/load_external.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/load_external.cpp b/src/bench/load_external.cpp
index 2ff72a3012..1378a7b20a 100644
--- a/src/bench/load_external.cpp
+++ b/src/bench/load_external.cpp
@@ -34,7 +34,7 @@ static void LoadExternalBlockFile(benchmark::Bench& bench)
ss << static_cast<uint32_t>(benchmark::data::block413567.size());
// We can't use the streaming serialization (ss << benchmark::data::block413567)
// because that first writes a compact size.
- ss.write(MakeByteSpan(benchmark::data::block413567));
+ ss << Span{benchmark::data::block413567};
// Create the test file.
{