wifiManager/get_response: pass response by const reference (#22997)

old-commit-hash: aa0cc260b9bc3f6e2a2d2c8e837c92243e6c07cf
This commit is contained in:
Dean Lee
2021-11-21 12:19:43 +08:00
committed by GitHub
parent 5e6608b67e
commit 31b63386f8
+1 -1
View File
@@ -9,7 +9,7 @@
#include "selfdrive/ui/qt/util.h"
template <typename T>
T get_response(QDBusMessage response) {
T get_response(const QDBusMessage &response) {
QVariant first = response.arguments().at(0);
QDBusVariant dbvFirst = first.value<QDBusVariant>();
QVariant vFirst = dbvFirst.variant();