Fix strange clang CE.

GitOrigin-RevId: 82960c49e63d6d48d181bdf42e009930c60783de
This commit is contained in:
levlam 2020-06-13 04:43:07 +03:00
parent 7ec6c794f8
commit c7bc1d1908
1 changed files with 2 additions and 2 deletions

View File

@ -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<ConfigShared> shared_config);
ConfigShared &shared_config() {
CHECK(shared_config_ != nullptr);
CHECK(shared_config_.get() != nullptr);
return *shared_config_;
}