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 0fd842c7c3..c6883af6d1 100644
--- a/src/bench/load_external.cpp
+++ b/src/bench/load_external.cpp
@@ -33,7 +33,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.
{