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/leaveroomjob.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jobs/leaveroomjob.h') diff --git a/jobs/leaveroomjob.h b/jobs/leaveroomjob.h index 535c44b8..9ce9bf4a 100644 --- a/jobs/leaveroomjob.h +++ b/jobs/leaveroomjob.h @@ -33,7 +33,7 @@ namespace QMatrixClient virtual ~LeaveRoomJob(); protected: - QString apiPath(); + QString apiPath() const override; private: class Private; @@ -41,4 +41,4 @@ namespace QMatrixClient }; } -#endif // QMATRIXCLIENT_LEAVEROOMJOB_H \ No newline at end of file +#endif // QMATRIXCLIENT_LEAVEROOMJOB_H -- cgit v1.2.3