aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/banning.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-06 19:24:03 +0900
commit21952d689db64bfb11e1cd11a7da802b649f9ae8 (patch)
tree6983bdff75a28f465f64d67c2ed8cf6ff5b385df /jobs/generated/banning.h
parent905263ceb5e2e13b862bec0a64f6d84eca3c2e9d (diff)
downloadlibquotient-21952d689db64bfb11e1cd11a7da802b649f9ae8.tar.gz
libquotient-21952d689db64bfb11e1cd11a7da802b649f9ae8.zip
jobs/generated: don't rely on QString's COW; firmer formatting
Diffstat (limited to 'jobs/generated/banning.h')
-rw-r--r--jobs/generated/banning.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/jobs/generated/banning.h b/jobs/generated/banning.h
index e225a6ef..6db096ee 100644
--- a/jobs/generated/banning.h
+++ b/jobs/generated/banning.h
@@ -12,20 +12,17 @@
namespace QMatrixClient
{
-
// Operations
class BanJob : public BaseJob
{
public:
- explicit BanJob(QString roomId, QString userId, QString reason = {});
-
+ explicit BanJob(const QString& roomId, const QString& userId, const QString& reason = {});
};
+
class UnbanJob : public BaseJob
{
public:
- explicit UnbanJob(QString roomId, QString userId);
-
+ explicit UnbanJob(const QString& roomId, const QString& userId);
};
-
} // namespace QMatrixClient