aboutsummaryrefslogtreecommitdiff
path: root/jobs/checkauthmethods.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-05-25 20:37:36 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-05-27 20:03:43 +0900
commit46050cd59a7af8cc7d616fab1a80db95dc8b5b35 (patch)
treed717d85e8b5d340050c317418e26addf1766a826 /jobs/checkauthmethods.h
parent40195a814673fb8557a8b9c67a0f4d61191eb34e (diff)
downloadlibquotient-46050cd59a7af8cc7d616fab1a80db95dc8b5b35.tar.gz
libquotient-46050cd59a7af8cc7d616fab1a80db95dc8b5b35.zip
Use 'override' keyword throughout job classes; constify apiPath(), query(), data()
Thanks to CLang model.
Diffstat (limited to 'jobs/checkauthmethods.h')
-rw-r--r--jobs/checkauthmethods.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/jobs/checkauthmethods.h b/jobs/checkauthmethods.h
index 2c9ab61a..197f7aa7 100644
--- a/jobs/checkauthmethods.h
+++ b/jobs/checkauthmethods.h
@@ -35,8 +35,8 @@ namespace QMatrixClient
QString session();
protected:
- QString apiPath();
- void parseJson(const QJsonDocument& data);
+ QString apiPath() const override;
+ void parseJson(const QJsonDocument& data) override;
private:
class Private;
@@ -44,4 +44,4 @@ namespace QMatrixClient
};
}
-#endif // QMATRIXCLIENT_CHECKAUTHMETHODS_H \ No newline at end of file
+#endif // QMATRIXCLIENT_CHECKAUTHMETHODS_H