aboutsummaryrefslogtreecommitdiff
path: root/src/bench/load_external.cpp
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-06-22 17:02:28 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-06-27 10:13:37 +0200
commitfa38d862358b87219b12bf31236c52f28d9fc5d6 (patch)
tree5c5c6b18bc1df274a75332b4b60ea6f076097cf1 /src/bench/load_external.cpp
parentfa257bc8312b91c2d281f48ca2500d9cba353cc5 (diff)
Use only Span{} constructor for byte-like types where possible
This removes bloat that is not needed.
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.
{