aboutsummaryrefslogtreecommitdiff
path: root/tests/TestClient.h
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2021-07-06 22:01:33 +0200
committerLinus Jahn <lnj@kaidan.im>2021-07-23 21:40:02 +0200
commit222575aaa68ba1696da84e7dd53708959f8b611b (patch)
treeebcc27833bbbccb64c794a7daf1a8a669b5fe937 /tests/TestClient.h
parent9e59f99fd0cfef5e0fa528fe5f1c58c1ef3ad4b4 (diff)
downloadqxmpp-222575aaa68ba1696da84e7dd53708959f8b611b.tar.gz
QXmppClient: Add addNewExtension<T>()
Diffstat (limited to 'tests/TestClient.h')
-rw-r--r--tests/TestClient.h8
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));