From 29be33dd64b9dae8b2f8f5533c3a54fea96018ff Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Tue, 21 Jun 2022 16:50:46 +0800 Subject: [PATCH] sm6150-common: gps: Fix unqualified-std-cast-call warning hardware/qcom/sm8150/gps/utils/LocIpc.cpp:315:24: error: unqualified call to std::move [-Werror,-Wunqualified-std-cast-call] mIpcRecver(move(ipcRecver)) {} ^ std:: Test: presubmit Change-Id: I7378416e788f20ebb3f8d1d065d60964dc76eb99 --- gps/utils/LocIpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gps/utils/LocIpc.cpp b/gps/utils/LocIpc.cpp index 746ca87..cd99b72 100644 --- a/gps/utils/LocIpc.cpp +++ b/gps/utils/LocIpc.cpp @@ -312,7 +312,7 @@ public: inline LocIpcRunnable(LocIpc& locIpc, unique_ptr& ipcRecver) : mAbortCalled(false), mLocIpc(locIpc), - mIpcRecver(move(ipcRecver)) {} + mIpcRecver(std::move(ipcRecver)) {} inline virtual bool run() override { if (mIpcRecver != nullptr) { mLocIpc.startBlockingListening(*(mIpcRecver.get()));