diff options
Diffstat (limited to 'tensorflow/core/platform/s3/s3_file_system.cc')
-rw-r--r-- | tensorflow/core/platform/s3/s3_file_system.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/platform/s3/s3_file_system.cc b/tensorflow/core/platform/s3/s3_file_system.cc index ce0f6cd741..e0b8e37745 100644 --- a/tensorflow/core/platform/s3/s3_file_system.cc +++ b/tensorflow/core/platform/s3/s3_file_system.cc @@ -211,7 +211,7 @@ class S3WritableFile : public WritableFile { std::ios_base::binary | std::ios_base::trunc | std::ios_base::in | std::ios_base::out)) {} - Status Append(const StringPiece& data) override { + Status Append(StringPiece data) override { if (!outfile_) { return errors::FailedPrecondition( "The internal temporary file is not writable."); |