Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 662789333
Change-Id: I5ee8e973aafc0c24d6fe2af4376c855f96dcacb1
  • Loading branch information
Sax Authors authored and copybara-github committed Aug 14, 2024
1 parent 6a19aff commit 5ab11c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions saxml/client/cc/sax.cc
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,7 @@ absl::Status VisionModel::TokenToVideo(
char* errMsgStr = nullptr;
int errCode = 0;
std::vector<char*> token_buffers;
token_buffers.reserve(tokens.size());
for (const auto& token : tokens) {
token_buffers.push_back(
const_cast<char*>(reinterpret_cast<const char*>(&token)));
Expand Down

0 comments on commit 5ab11c3

Please sign in to comment.