diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-06 19:24:03 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-07 12:35:50 +0900 |
commit | c18b0c5be800a39898b6f6619209d1f96d022afa (patch) | |
tree | 1076eac90f1bc1918b3adbb82a17f8b6ad9b86d7 /jobs/generated/login.h | |
parent | 15b2ea9e4e7077b8547f5f7f39156b0227c338e8 (diff) | |
download | libquotient-c18b0c5be800a39898b6f6619209d1f96d022afa.tar.gz libquotient-c18b0c5be800a39898b6f6619209d1f96d022afa.zip |
jobs/generated: don't rely on QString's COW; firmer formatting
Diffstat (limited to 'jobs/generated/login.h')
-rw-r--r-- | jobs/generated/login.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/jobs/generated/login.h b/jobs/generated/login.h index 8fcca09a..1c017877 100644 --- a/jobs/generated/login.h +++ b/jobs/generated/login.h @@ -12,14 +12,12 @@ namespace QMatrixClient { - // Operations class LoginJob : public BaseJob { public: - explicit LoginJob(QString type, QString user = {}, QString medium = {}, QString address = {}, QString password = {}, QString token = {}, QString deviceId = {}, QString initialDeviceDisplayName = {}); - + explicit LoginJob(const QString& type, const QString& user = {}, const QString& medium = {}, const QString& address = {}, const QString& password = {}, const QString& token = {}, const QString& deviceId = {}, const QString& initialDeviceDisplayName = {}); ~LoginJob() override; const QString& userId() const; @@ -34,5 +32,4 @@ namespace QMatrixClient class Private; Private* d; }; - } // namespace QMatrixClient |