Loading system/btif/src/btif_ble_advertiser.cc +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ class OwnedArrayWrapper { explicit OwnedArrayWrapper(T* o) : ptr_(o) {} ~OwnedArrayWrapper() { delete[] ptr_; } T* get() const { return ptr_; } OwnedArrayWrapper(OwnedArrayWrapper&& other) { OwnedArrayWrapper(OwnedArrayWrapper&& other) noexcept { ptr_ = other.ptr_; other.ptr_ = NULL; } Loading Loading
system/btif/src/btif_ble_advertiser.cc +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ class OwnedArrayWrapper { explicit OwnedArrayWrapper(T* o) : ptr_(o) {} ~OwnedArrayWrapper() { delete[] ptr_; } T* get() const { return ptr_; } OwnedArrayWrapper(OwnedArrayWrapper&& other) { OwnedArrayWrapper(OwnedArrayWrapper&& other) noexcept { ptr_ = other.ptr_; other.ptr_ = NULL; } Loading