mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
nearby: snapshot of cl/313536507
Signed-off-by: Alexey Polyudov <apolyudov@google.com> Change-Id: I8936b527079074d5c3af5531b9245063767cc4a7
This commit is contained in:
@@ -37,7 +37,7 @@ class ByteArray {
|
||||
data_.assign(size, value);
|
||||
}
|
||||
|
||||
char* getData() { return data_.data(); }
|
||||
char* getData() { return &data_[0]; }
|
||||
const char* getData() const { return data_.data(); }
|
||||
size_t size() const { return data_.size(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user