mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-24 14:13:53 +08:00
wifiManager/get_response: pass response by const reference (#22997)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user