aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/tools/parser/hlo_lexer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/compiler/xla/tools/parser/hlo_lexer.cc')
-rw-r--r--tensorflow/compiler/xla/tools/parser/hlo_lexer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/compiler/xla/tools/parser/hlo_lexer.cc b/tensorflow/compiler/xla/tools/parser/hlo_lexer.cc
index fc0e444452..350db12653 100644
--- a/tensorflow/compiler/xla/tools/parser/hlo_lexer.cc
+++ b/tensorflow/compiler/xla/tools/parser/hlo_lexer.cc
@@ -230,7 +230,7 @@ TokKind HloLexer::LexIdentifier() {
}
}
- str_val_ = identifier.ToString();
+ str_val_ = std::string(identifier);
return TokKind::kIdent;
}