diff options
author | Sven Gothel <[email protected]> | 2021-08-05 09:06:02 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-08-05 09:06:02 +0200 |
commit | f395c06d1b89d37dfdf4d4677a5ea8c6654b5ea8 (patch) | |
tree | 0faace57558e84ae22ce362acdc6cdbfabdcf918 /api/direct_bt/BTDeviceRegistry.hpp | |
parent | 50d757197eae2be3a22d2e672d0d44287348994a (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.hpp | 2 |
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) {} |