diff options
author | Shashi <1162712+shashishekhar@users.noreply.github.com> | 2018-07-16 12:41:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 12:41:19 -0700 |
commit | b05a47dd10872871d08a5c7a3ee97e49fdf64098 (patch) | |
tree | 5209a480602c930d1b1debcfb2206bcf6cc2e131 /tensorflow/contrib/lite/allocation.cc | |
parent | 455c931c252fbeed421b2ba3750743d6c7ad968d (diff) |
Update allocation.cc
Diffstat (limited to 'tensorflow/contrib/lite/allocation.cc')
-rw-r--r-- | tensorflow/contrib/lite/allocation.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/lite/allocation.cc b/tensorflow/contrib/lite/allocation.cc index d85b3b12f7..b19efca842 100644 --- a/tensorflow/contrib/lite/allocation.cc +++ b/tensorflow/contrib/lite/allocation.cc @@ -99,8 +99,8 @@ FileCopyAllocation::FileCopyAllocation(const char* filename, filename); return; } - // Versions of GCC before 6.2.0 don't support std::move from non-const char[] to - // const char[] unique_ptrs. + // Versions of GCC before 6.2.0 don't support std::move from non-const + // char[] to const char[] unique_ptrs. copied_buffer_.reset(const_cast<char const *>(buffer.release())); } |