File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
libraries/ESP8266mDNS/src Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -634,7 +634,7 @@ bool clsLEAMDNSHost::hasQuery(void)
634
634
clsLEAmDNS2_Host::getQuery
635
635
636
636
*/
637
- clsLEAMDNSHost::clsQuery* clsLEAMDNSHost::getQuery (void )
637
+ clsLEAMDNSHost::clsQuery* clsLEAMDNSHost::getQuery (void ) const
638
638
{
639
639
return _findLegacyQuery ();
640
640
}
@@ -1149,7 +1149,7 @@ bool clsLEAMDNSHost::_removeLegacyQuery(void)
1149
1149
clsLEAmDNS2_Host::_findLegacyQuery
1150
1150
1151
1151
*/
1152
- clsLEAMDNSHost::clsQuery* clsLEAMDNSHost::_findLegacyQuery (void )
1152
+ clsLEAMDNSHost::clsQuery* clsLEAMDNSHost::_findLegacyQuery (void ) const
1153
1153
{
1154
1154
clsQuery* pLegacyQuery = nullptr ;
1155
1155
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ class clsLEAMDNSHost
206
206
size_t hostCount (void ) const ;
207
207
bool setDelayUDPProcessing (bool p_bDelayProcessing);
208
208
209
- clsLEAMDNSHost* getUniqueHost ()
209
+ clsLEAMDNSHost* getUniqueHost () const
210
210
{
211
211
return m_uniqueHost;
212
212
}
@@ -1226,7 +1226,7 @@ class clsLEAMDNSHost
1226
1226
const uint16_t p_u16Timeout);
1227
1227
bool removeQuery (void );
1228
1228
bool hasQuery (void );
1229
- clsQuery* getQuery (void );
1229
+ clsQuery* getQuery (void ) const ;
1230
1230
1231
1231
// - DYNAMIC
1232
1232
// Install a dynamic service/host query. For every received answer (part) the given callback
@@ -1330,7 +1330,7 @@ class clsLEAMDNSHost
1330
1330
clsQuery* _allocQuery (clsQuery::enuQueryType p_QueryType);
1331
1331
bool _removeQuery (clsQuery* p_pQuery);
1332
1332
bool _removeLegacyQuery (void );
1333
- clsQuery* _findLegacyQuery (void );
1333
+ clsQuery* _findLegacyQuery (void ) const ;
1334
1334
bool _releaseQueries (void );
1335
1335
clsQuery* _findNextQueryByDomain (const clsRRDomain& p_Domain,
1336
1336
const clsQuery::enuQueryType p_QueryType,
You can’t perform that action at this time.
0 commit comments