Skip to content
Snippets Groups Projects
Commit 3624615b authored by Roman Kiryanov's avatar Roman Kiryanov
Browse files

Fix build break


error: 'class std::vector<char>' has no member named 'data'

Bug: 130246090
Test: make
Change-Id: I1c7146a6eada5be4aa0678c7a3ddb762d080c981
Merged-In: I39eec3b4d6621067387e48e1481de3cd614b79a1
Signed-off-by: default avatarRoman Kiryanov <rkir@google.com>
parent 27f0770e
Branches
No related tags found
No related merge requests found
......@@ -389,7 +389,7 @@ static void updateHostColorBuffer(cb_handle_t* cb,
if ((doLocked && is_rgb_format) ||
(!grdma && (doLocked || !is_rgb_format))) {
convertedBuf.resize(rgbSz);
to_send = convertedBuf.data();
to_send = &convertedBuf.front();
send_buffer_size = rgbSz;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment