From 4f4e1b48862c30a21dedffb7a1929a2b2600ec9f Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Tue, 28 Aug 2018 10:36:25 -0700 Subject: Removed redundant std::string -> string conversions. PiperOrigin-RevId: 210565027 --- tensorflow/compiler/xla/service/shape_inference.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tensorflow/compiler/xla/service/shape_inference.cc') diff --git a/tensorflow/compiler/xla/service/shape_inference.cc b/tensorflow/compiler/xla/service/shape_inference.cc index ae6a366d25..b04d2a7ba6 100644 --- a/tensorflow/compiler/xla/service/shape_inference.cc +++ b/tensorflow/compiler/xla/service/shape_inference.cc @@ -52,7 +52,7 @@ bool AllUnique(tensorflow::gtl::ArraySlice slice) { Status ExpectArray(const Shape& shape, absl::string_view op_type) { if (!ShapeUtil::IsArray(shape)) { return InvalidArgument("Expected array argument for %s, but got %s.", - std::string(op_type), ShapeUtil::HumanString(shape)); + string(op_type), ShapeUtil::HumanString(shape)); } return Status::OK(); } -- cgit v1.2.3