kiran-authentication-service/0003-fix-compile-fix-compile-error-no-match-for-operator-.patch
2023-04-22 15:02:24 +08:00

31 lines
1.3 KiB
Diff

From 61b5002e92643f08213e5725ed2a1a8919ced58f Mon Sep 17 00:00:00 2001
From: wangyucheng <wangyucheng@kylinsec.com.cn>
Date: Sat, 22 Apr 2023 14:54:28 +0800
Subject: [PATCH] =?UTF-8?q?fix(compile):=20fix=20compile=20error:=20no=20m?=
=?UTF-8?q?atch=20for=20=E2=80=98operator<<=E2=80=99=20on=20gcc=207.3.0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 修复在gcc7.3.0上的编译错误
---
src/daemon/device/device-adaptor.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/daemon/device/device-adaptor.cpp b/src/daemon/device/device-adaptor.cpp
index e521575..d3c0435 100644
--- a/src/daemon/device/device-adaptor.cpp
+++ b/src/daemon/device/device-adaptor.cpp
@@ -329,7 +329,7 @@ void DeviceAdaptor::onIdentifyStatus(const QString &featureID, int result, const
// 认证队列里只存当前会话里的认证请求
void DeviceAdaptor::onActiveSessionChanged(const Login1SessionItem &sessionItem)
{
- DEVICE_DEBUG() << "active session changed:" << sessionItem.sessionID << sessionItem.sessionObjectPath;
+ DEVICE_DEBUG() << "active session changed:" << sessionItem.sessionID << sessionItem.sessionObjectPath.path();
// 清空之前会话里的所有认证请求
removeAllRequest();
--
2.33.0