aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Ilya Biryukov <ibiryukov@google.com>2018-03-21 12:00:04 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-21 12:03:06 -0700
commitcbede3ea7574b36f429710bc08617d08455bcc21 (patch)
tree0461aae6ef24f427bc7a21fc761ce596d6ec1bdb
parent7a60167ba7718c23b0ed70d079bbb446f63a4fd9 (diff)
Fix compilation error with clang.
Link to breaking CI build: https://ci.tensorflow.org/view/Nightly/job/nightly-matrix-linux-gpu-clang/232 PiperOrigin-RevId: 189944547
-rw-r--r--tensorflow/contrib/tpu/profiler/capture_tpu_profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/tpu/profiler/capture_tpu_profile.cc b/tensorflow/contrib/tpu/profiler/capture_tpu_profile.cc
index f86aff47e1..e6811d4ad2 100644
--- a/tensorflow/contrib/tpu/profiler/capture_tpu_profile.cc
+++ b/tensorflow/contrib/tpu/profiler/capture_tpu_profile.cc
@@ -147,7 +147,7 @@ int main(int argc, char** argv) {
tensorflow::string session_id =
tensorflow::tpu::GetCurrentTimeStampAsString();
constexpr char kProfilePluginDirectory[] = "plugins/profile/";
- string repository_root =
+ tensorflow::string repository_root =
::tensorflow::io::JoinPath(FLAGS_logdir, kProfilePluginDirectory);
while (true) {
std::cout << "Starting to profile TPU traces for " << duration_ms << " ms. "