diff --git a/benchmark/wget.cpp b/benchmark/wget.cpp index da2d5bc2..1774af0a 100644 --- a/benchmark/wget.cpp +++ b/benchmark/wget.cpp @@ -14,16 +14,14 @@ #include "td/utils/logging.h" #include "td/utils/Status.h" -#include - int main(int argc, char *argv[]) { SET_VERBOSITY_LEVEL(VERBOSITY_NAME(DEBUG)); td::VERBOSITY_NAME(fd) = VERBOSITY_NAME(INFO); - std::string url = (argc > 1 ? argv[1] : "https://telegram.org"); + td::string url = (argc > 1 ? argv[1] : "https://telegram.org"); auto timeout = 10; auto ttl = 3; - auto prefer_ipv6 = (argc > 2 && std::string(argv[2]) == "-6"); + auto prefer_ipv6 = (argc > 2 && td::string(argv[2]) == "-6"); auto scheduler = td::make_unique(); scheduler->init(0); scheduler diff --git a/test/secret.cpp b/test/secret.cpp index 2f103702..6be988d4 100644 --- a/test/secret.cpp +++ b/test/secret.cpp @@ -893,7 +893,7 @@ class Master : public Actor { process_net_query_send_encrypted(std::move(message.data_), std::move(net_query), std::move(callback)); } void process_net_query_send_encrypted(BufferSlice data, NetQueryPtr net_query, - ActorShared callback) { + ActorShared callback) { BufferSlice answer(8); answer.as_slice().fill(0); as(answer.as_slice().begin()) = my_api::messages_sentEncryptedMessage::ID;