mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Add MTP::Sender to replace RPCSender some day.
Also use c++1z language standard in Xcode build. Also treat warnings as errors.
This commit is contained in:
@@ -278,7 +278,7 @@ class Session : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Session(Instance *instance, ShiftedDcId shiftedDcId);
|
||||
Session(gsl::not_null<Instance*> instance, ShiftedDcId shiftedDcId);
|
||||
|
||||
void start();
|
||||
void restart();
|
||||
@@ -340,7 +340,7 @@ private:
|
||||
mtpRequest getRequest(mtpRequestId requestId);
|
||||
bool rpcErrorOccured(mtpRequestId requestId, const RPCFailHandlerPtr &onFail, const RPCError &err);
|
||||
|
||||
Instance *_instance;
|
||||
gsl::not_null<Instance*> _instance;
|
||||
std::unique_ptr<Connection> _connection;
|
||||
|
||||
bool _killed = false;
|
||||
|
Reference in New Issue
Block a user