mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Replace gsl::not_null<T*> with just not_null<T*>.
This commit is contained in:
@@ -32,7 +32,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
|
||||
namespace Lang {
|
||||
|
||||
CloudManager::CloudManager(Instance &langpack, gsl::not_null<MTP::Instance*> mtproto) : MTP::Sender()
|
||||
CloudManager::CloudManager(Instance &langpack, not_null<MTP::Instance*> mtproto) : MTP::Sender()
|
||||
, _langpack(langpack) {
|
||||
requestLangPackDifference();
|
||||
}
|
||||
|
@@ -33,7 +33,7 @@ class Instance;
|
||||
|
||||
class CloudManager : public base::enable_weak_from_this, private MTP::Sender, private base::Subscriber {
|
||||
public:
|
||||
CloudManager(Instance &langpack, gsl::not_null<MTP::Instance*> mtproto);
|
||||
CloudManager(Instance &langpack, not_null<MTP::Instance*> mtproto);
|
||||
|
||||
struct Language {
|
||||
QString id;
|
||||
|
Reference in New Issue
Block a user