Improve A2DP Bits handling
Test: m Bug: 316413963 Flag: EXEMPT small improvement non flaggable Change-Id: I5b6a6bbb130f9c9222373e3927d23908d1f8a351
This commit is contained in:
parent
141967eed6
commit
e55691fdf1
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ class A2dpBits {
|
|||
uint8_t* data_;
|
||||
|
||||
public:
|
||||
A2dpBits(const std::vector<uint8_t>& vector) : cdata_(vector.data()) {}
|
||||
A2dpBits(const std::vector<uint8_t>& vector)
|
||||
: cdata_(vector.data()), data_(nullptr) {}
|
||||
|
||||
A2dpBits(std::vector<uint8_t>& vector)
|
||||
: cdata_(vector.data()), data_(vector.data()) {}
|
||||
|
|
Loading…
Reference in a new issue