diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2023-05-08 21:48:03 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2023-05-16 11:46:42 -0700 |
commit | e1c3083dadcb8ba69dc3a379a03ae37bbbd1c319 (patch) | |
tree | 6e1957ec262c06bf7e561692e477e36d630deeeb /src/network/kernel/qdnslookup_unix.cpp | |
parent | 365af87f94f3970fd4fca248e87f7a57d27ffa7d (diff) | |
download | qtbase-e1c3083dadcb8ba69dc3a379a03ae37bbbd1c319.tar.gz |
QDnsLookup: make the query() function non-static
Simplifies arguments and will allow me to add stateful helper methods.
Change-Id: I3e3bfef633af4130a03afffd175d6044829a96f2
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/kernel/qdnslookup_unix.cpp')
-rw-r--r-- | src/network/kernel/qdnslookup_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/kernel/qdnslookup_unix.cpp b/src/network/kernel/qdnslookup_unix.cpp index 988334e5eb..d2435064ad 100644 --- a/src/network/kernel/qdnslookup_unix.cpp +++ b/src/network/kernel/qdnslookup_unix.cpp @@ -100,7 +100,7 @@ static const char *applyNameServer(res_state state, const QHostAddress &nameserv } #endif // !QT_CONFIG(res_setservers) -void QDnsLookupRunnable::query(const int requestType, const QByteArray &requestName, const QHostAddress &nameserver, QDnsLookupReply *reply) +void QDnsLookupRunnable::query(QDnsLookupReply *reply) { // Initialize state. std::remove_pointer_t<res_state> state = {}; |