aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/BTDeviceRegistry.hpp
diff options
context:
space:
mode:
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 8112d2a7..7f56a68e 100644
--- a/api/direct_bt/BTDeviceRegistry.hpp
+++ b/api/direct_bt/BTDeviceRegistry.hpp
@@ -61,7 +61,7 @@ namespace direct_bt {
EUI48Sub addressSub;
std::string nameSub;
- DeviceQuery(EUI48Sub as) : type(Type::EUI48SUB), addressSub(std::move(as)), nameSub() {}
+ DeviceQuery(const EUI48Sub& as) : type(Type::EUI48SUB), addressSub(as), nameSub() {}
DeviceQuery(std::string ns) : type(Type::NAME), addressSub(EUI48Sub::ANY_DEVICE), nameSub(std::move(ns)) {}