aboutsummaryrefslogtreecommitdiffhomepage
path: root/benchmark
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2026-03-26 17:40:40 +0300
committerlevlam <levlam@telegram.org>2026-03-26 17:40:40 +0300
commit0ca7adddcfb4432c14d456e737627ee21bc067d5 (patch)
tree0b439baf8062d4a42e0cfb0fcb507d37608e91ce /benchmark
parent045440366acda2b15b9d51c2972b952b24b9caa4 (diff)
Remove separate messageLivePhoto.
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/bench_misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bench_misc.cpp b/benchmark/bench_misc.cpp
index 23d1321ce..15dc58198 100644
--- a/benchmark/bench_misc.cpp
+++ b/benchmark/bench_misc.cpp
@@ -117,7 +117,7 @@ BENCH(TlToStringMessage, "TL to_string message") {
td::vector<td::int32>{10000, 20000, 30000, 50000, 70000, 90000, 120000, 150000, 180000, 220000}));
}
x->content_ = td::td_api::make_object<td::td_api::messagePhoto>(
- std::move(photo), td::td_api::make_object<td::td_api::formattedText>(), false, false, false);
+ std::move(photo), nullptr, td::td_api::make_object<td::td_api::formattedText>(), false, false, false);
std::size_t res = 0;
for (int i = 0; i < n; i++) {