aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/BTDeviceRegistry.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-08-05 09:06:02 +0200
committerSven Gothel <[email protected]>2021-08-05 09:06:02 +0200
commitf395c06d1b89d37dfdf4d4677a5ea8c6654b5ea8 (patch)
tree0faace57558e84ae22ce362acdc6cdbfabdcf918 /api/direct_bt/BTDeviceRegistry.hpp
parent50d757197eae2be3a22d2e672d0d44287348994a (diff)
BTDeviceRegistry::DeviceQuery: No need for EUI48Sub string representation if address
Diffstat (limited to 'api/direct_bt/BTDeviceRegistry.hpp')
-rw-r--r--api/direct_bt/BTDeviceRegistry.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/direct_bt/BTDeviceRegistry.hpp b/api/direct_bt/BTDeviceRegistry.hpp
index d07af857..d15c5279 100644
--- a/api/direct_bt/BTDeviceRegistry.hpp
+++ b/api/direct_bt/BTDeviceRegistry.hpp
@@ -56,7 +56,7 @@ namespace direct_bt {
EUI48Sub addressSub;
std::string nameSub;
- DeviceQuery(const EUI48Sub& as) : type(Type::EUI48SUB), addressSub(as), nameSub(as.toString()) {}
+ DeviceQuery(const EUI48Sub& as) : type(Type::EUI48SUB), addressSub(as), nameSub() {}
DeviceQuery(const std::string& ns) : type(Type::NAME), addressSub(EUI48Sub::ANY_DEVICE), nameSub(ns) {}