From 46050cd59a7af8cc7d616fab1a80db95dc8b5b35 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 25 May 2016 20:37:36 +0900 Subject: Use 'override' keyword throughout job classes; constify apiPath(), query(), data() Thanks to CLang model. --- jobs/postreceiptjob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jobs/postreceiptjob.cpp') diff --git a/jobs/postreceiptjob.cpp b/jobs/postreceiptjob.cpp index 54220626..f99b6869 100644 --- a/jobs/postreceiptjob.cpp +++ b/jobs/postreceiptjob.cpp @@ -46,7 +46,7 @@ PostReceiptJob::~PostReceiptJob() delete d; } -QString PostReceiptJob::apiPath() +QString PostReceiptJob::apiPath() const { return QString("/_matrix/client/r0/rooms/%1/receipt/m.read/%2").arg(d->roomId).arg(d->eventId); } -- cgit v1.2.3