telepathy-qt: qt-client-gen.py: Use 'override' in the generated code

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jan 25 18:06:00 UTC 2020


Module: telepathy-qt
Branch: master
Commit: c951365fe24d255bbe86d7717fae3c5cb162a395
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=c951365fe24d255bbe86d7717fae3c5cb162a395

Author: Alexander Akulich <akulichalexander at gmail.com>
Date:   Sat Jan 18 18:00:44 2020 +0300

qt-client-gen.py: Use 'override' in the generated code

---

 tools/qt-client-gen.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/qt-client-gen.py b/tools/qt-client-gen.py
index b58ecd87..1c99bb69 100644
--- a/tools/qt-client-gen.py
+++ b/tools/qt-client-gen.py
@@ -325,7 +325,7 @@ Q_SIGNALS:\
         # specific signals in order to remove its signal match rules)
         self.h("""
 protected:
-    virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &);
+    void invalidate(Tp::DBusProxy *, const QString &, const QString &) override;
 """)
 
         self.b("""



More information about the telepathy-commits mailing list