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:
parent
6735f03614
commit
29be33dd64
@ -312,7 +312,7 @@ public:
|
|||||||
inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) :
|
inline LocIpcRunnable(LocIpc& locIpc, unique_ptr<LocIpcRecver>& ipcRecver) :
|
||||||
mAbortCalled(false),
|
mAbortCalled(false),
|
||||||
mLocIpc(locIpc),
|
mLocIpc(locIpc),
|
||||||
mIpcRecver(move(ipcRecver)) {}
|
mIpcRecver(std::move(ipcRecver)) {}
|
||||||
inline virtual bool run() override {
|
inline virtual bool run() override {
|
||||||
if (mIpcRecver != nullptr) {
|
if (mIpcRecver != nullptr) {
|
||||||
mLocIpc.startBlockingListening(*(mIpcRecver.get()));
|
mLocIpc.startBlockingListening(*(mIpcRecver.get()));
|
||||||
|
Loading…
Reference in New Issue
Block a user