[dnssd-server] remove unused using for HostSwap16() (#6758)

This addresses `clang-tidy` warning for unused `using` statement. This
commit also ensures `OT_DNSSD_SERVER` is enabled in `make-pretty`
script and therefore covered by github action `build pretty`
workflow.
This commit is contained in:
Abtin Keshavarzian
2021-06-22 10:19:48 -07:00
committed by GitHub
parent a662c32eb0
commit ec1ae4c0ef
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -95,6 +95,7 @@ readonly OT_CLANG_TIDY_BUILD_OPTS=(
'-DOT_DHCP6_SERVER=ON'
'-DOT_DIAGNOSTIC=ON'
'-DOT_DNS_CLIENT=ON'
'-DOT_DNSSD_SERVER=ON'
'-DOT_DUA=ON'
'-DOT_MLR=ON'
'-DOT_ECDSA=ON'
-2
View File
@@ -43,8 +43,6 @@
#include "net/srp_server.hpp"
#include "net/udp6.hpp"
using ot::Encoding::BigEndian::HostSwap16;
namespace ot {
namespace Dns {
namespace ServiceDiscovery {