aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/strings/proto_text_util.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <nobody@tensorflow.org>2016-04-19 16:36:49 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-04-19 17:44:41 -0700
commit43fc42b7052b2bc47040ad85049290387d6dc2e8 (patch)
tree255bbaeff0be22e1ab8acf17c78de923d9ef3cd0 /tensorflow/core/lib/strings/proto_text_util.h
parente8beb7e6436c2d8f511f53749733b7762ae3d896 (diff)
Rollback of "Change tensorflow code to use proto_text for DebugString andS hortDebugString"
calls, for call sites that are needed on android. Also changed protobuf.h to use MessageLite. Change: 120289807
Diffstat (limited to 'tensorflow/core/lib/strings/proto_text_util.h')
-rw-r--r--tensorflow/core/lib/strings/proto_text_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/lib/strings/proto_text_util.h b/tensorflow/core/lib/strings/proto_text_util.h
index bca9749343..35040a9408 100644
--- a/tensorflow/core/lib/strings/proto_text_util.h
+++ b/tensorflow/core/lib/strings/proto_text_util.h
@@ -100,7 +100,7 @@ class ProtoTextOutput {
}
private:
- void AppendFieldAndValue(const char field_name[], StringPiece value_text) {
+ void AppendFieldAndValue(const char field_name[], const string& value_text) {
StrAppend(output_, level_empty_ ? "" : field_separator_, indent_,
field_name, kColonSeparator, value_text);
level_empty_ = false;