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
This commit is contained in:
Yi Kong 2022-06-21 16:50:46 +08:00 committed by basamaryan
parent 6735f03614
commit 29be33dd64
No known key found for this signature in database
GPG Key ID: 0A28C6D8648B81DD

View File

@ -312,7 +312,7 @@ public:
inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) :
mAbortCalled(false),
mLocIpc(locIpc),
mIpcRecver(move(ipcRecver)) {}
mIpcRecver(std::move(ipcRecver)) {}
inline virtual bool run() override {
if (mIpcRecver != nullptr) {
mLocIpc.startBlockingListening(*(mIpcRecver.get()));