diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-08-27 11:01:09 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-27 11:12:14 -0700 |
commit | 8b05705ce58d264d09330531eea0c0701cc07ae2 (patch) | |
tree | b6ad2bacaa4b07938ade9d37b019e23e00eed569 /tensorflow/core/platform | |
parent | bf0382b3d05c86485589c792ed914dfd043ff89b (diff) |
Replaced calls to tensorflow::StringPiece::ToString with std::string conversions.
That is, instances of sp.ToString() are replaced with string(sp).
This will allow tensorflow::StringPiece::ToString to be removed, which is necessary before it can be replaced with absl::string_view.
PiperOrigin-RevId: 210394878
Diffstat (limited to 'tensorflow/core/platform')
-rw-r--r-- | tensorflow/core/platform/cloud/compute_engine_zone_provider.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/platform/cloud/compute_engine_zone_provider.cc b/tensorflow/core/platform/cloud/compute_engine_zone_provider.cc index dacf56187c..e147d88371 100644 --- a/tensorflow/core/platform/cloud/compute_engine_zone_provider.cc +++ b/tensorflow/core/platform/cloud/compute_engine_zone_provider.cc @@ -43,7 +43,7 @@ Status ComputeEngineZoneProvider::GetZone(string* zone) { *zone = cached_zone; } else { LOG(ERROR) << "Failed to parse the zone name from location: " - << location.ToString(); + << string(location); } return Status::OK(); |