diff options
| author | Linus Jahn <lnj@kaidan.im> | 2021-07-06 22:01:33 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2021-07-23 21:40:02 +0200 |
| commit | 222575aaa68ba1696da84e7dd53708959f8b611b (patch) | |
| tree | ebcc27833bbbccb64c794a7daf1a8a669b5fe937 /tests/TestClient.h | |
| parent | 9e59f99fd0cfef5e0fa528fe5f1c58c1ef3ad4b4 (diff) | |
| download | qxmpp-222575aaa68ba1696da84e7dd53708959f8b611b.tar.gz | |
QXmppClient: Add addNewExtension<T>()
Diffstat (limited to 'tests/TestClient.h')
| -rw-r--r-- | tests/TestClient.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/TestClient.h b/tests/TestClient.h index 6dcec3de..662694c5 100644 --- a/tests/TestClient.h +++ b/tests/TestClient.h @@ -52,14 +52,6 @@ public: { } - template<typename T, typename ...Args> - T *addNewExtension(Args... args) - { - auto *ext = new T(args...); - addExtension(ext); - return ext; - } - void inject(const QByteArray &xml) { d->stream->handleIqResponse(xmlToDom(xml)); |
