Commit 347f566f authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] qualify memcpy with std::, it won't compile with sunstudio otherwise.

in response to buildbot report.  confirmed the fix on the box, and should be
trivial.  so directly committing.
parent c6de8f18
......@@ -88,7 +88,7 @@ LabelSequence::serialize(void* buf, size_t buf_len) const {
*bp++ = offsets_[first_label_ + i] - offsets_[first_label_];
const size_t ndata_len = getDataLength();
memcpy(bp, &data_[offsets_[first_label_]], ndata_len);
std::memcpy(bp, &data_[offsets_[first_label_]], ndata_len);
bp += ndata_len;
assert(bp - reinterpret_cast<const uint8_t*>(buf) == expected_size);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment