aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/leaving.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-06 19:24:03 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-12-07 12:35:50 +0900
commitc18b0c5be800a39898b6f6619209d1f96d022afa (patch)
tree1076eac90f1bc1918b3adbb82a17f8b6ad9b86d7 /jobs/generated/leaving.h
parent15b2ea9e4e7077b8547f5f7f39156b0227c338e8 (diff)
downloadlibquotient-c18b0c5be800a39898b6f6619209d1f96d022afa.tar.gz
libquotient-c18b0c5be800a39898b6f6619209d1f96d022afa.zip
jobs/generated: don't rely on QString's COW; firmer formatting
Diffstat (limited to 'jobs/generated/leaving.h')
-rw-r--r--jobs/generated/leaving.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/jobs/generated/leaving.h b/jobs/generated/leaving.h
index 96304084..28ba3d92 100644
--- a/jobs/generated/leaving.h
+++ b/jobs/generated/leaving.h
@@ -12,20 +12,17 @@
namespace QMatrixClient
{
-
// Operations
class LeaveRoomJob : public BaseJob
{
public:
- explicit LeaveRoomJob(QString roomId);
-
+ explicit LeaveRoomJob(const QString& roomId);
};
+
class ForgetRoomJob : public BaseJob
{
public:
- explicit ForgetRoomJob(QString roomId);
-
+ explicit ForgetRoomJob(const QString& roomId);
};
-
} // namespace QMatrixClient