From c7bc1d190843b2df2887990954393040f015c936 Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 13 Jun 2020 04:43:07 +0300 Subject: [PATCH] Fix strange clang CE. GitOrigin-RevId: 82960c49e63d6d48d181bdf42e009930c60783de --- td/telegram/Global.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/td/telegram/Global.h b/td/telegram/Global.h index 1dfd33487..3b9cfc40a 100644 --- a/td/telegram/Global.h +++ b/td/telegram/Global.h @@ -113,13 +113,13 @@ class Global : public ActorContext { } bool have_net_query_dispatcher() const { - return net_query_dispatcher_ != nullptr; + return net_query_dispatcher_.get() != nullptr; } void set_shared_config(unique_ptr shared_config); ConfigShared &shared_config() { - CHECK(shared_config_ != nullptr); + CHECK(shared_config_.get() != nullptr); return *shared_config_; }