axolotl: 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
diff --git a/gps/utils/LocIpc.cpp b/gps/utils/LocIpc.cpp
index 344e487..123b3bd 100644
--- a/gps/utils/LocIpc.cpp
+++ b/gps/utils/LocIpc.cpp
@@ -312,7 +312,7 @@
inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) :
mAbortCalled(false),
mLocIpc(locIpc),
- mIpcRecver(move(ipcRecver)) {}
+ mIpcRecver(std::move(ipcRecver)) {}
inline bool run() override {
if (mIpcRecver != nullptr) {
mLocIpc.startBlockingListening(*(mIpcRecver.get()));