diff options
author | Yong Tang <yong.tang.github@outlook.com> | 2018-09-01 06:26:02 +0000 |
---|---|---|
committer | Yong Tang <yong.tang.github@outlook.com> | 2018-09-01 07:19:01 +0000 |
commit | c67ded664a20f27b4e90020bf76a097b462182b1 (patch) | |
tree | 23d56aed2ea241641a755b927af37bdcc3b10524 /tensorflow/contrib/verbs | |
parent | 1f9f6878e52454ce761975309a1d0040b9f6deb2 (diff) |
Fix tensorflow master build failure with verbs
This fix tries to address the issue in 21999 where
tensorflow master build failed with verbs. The issue was caused
by StringPiece replaced with `absl::string_view`
This fix fixes 21999
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'tensorflow/contrib/verbs')
-rw-r--r-- | tensorflow/contrib/verbs/rdma_rendezvous_mgr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/verbs/rdma_rendezvous_mgr.cc b/tensorflow/contrib/verbs/rdma_rendezvous_mgr.cc index ad3dce1784..d4951b156c 100644 --- a/tensorflow/contrib/verbs/rdma_rendezvous_mgr.cc +++ b/tensorflow/contrib/verbs/rdma_rendezvous_mgr.cc @@ -63,7 +63,7 @@ void RdmaRemoteRendezvous::RecvFromRemoteAsync( } CHECK(dst_name.compare(rdma_mgr_->local_worker()) == 0); RdmaChannel* rc = rdma_mgr_->FindChannel(src_name); - string key(std::move(parsed.FullKey().ToString())); + string key(parsed.FullKey()); string key_with_step_id = VerbsUtil::AppendStepidToKey(key, step_id_); Device* dst_dev; |