File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ void GcsDnsCache::AnnotateRequest(HttpRequest* request) {
197
197
LOG (ERROR) << " Error converting response to IP address for " << name
198
198
<< " : " << strerror (errno);
199
199
} else {
200
- output.emplace_back (buf);
200
+ output.push_back (buf);
201
201
VLOG (1 ) << " ... address: " << buf;
202
202
}
203
203
}
Original file line number Diff line number Diff line change @@ -46,17 +46,17 @@ std::vector<std::string> CandidateCudaRoots() {
46
46
std::string executable_path = tsl::Env::Default ()->GetExecutablePath ();
47
47
std::string cuda_nvcc_dir =
48
48
io::JoinPath (executable_path + " ." + runfiles_suffix, " cuda_nvcc" );
49
- roots.emplace_back (cuda_nvcc_dir);
49
+ roots.push_back (cuda_nvcc_dir);
50
50
51
51
// The CUDA candidate root for python targets.
52
52
std::string runfiles_dir = tsl::Env::Default ()->GetRunfilesDir ();
53
53
std::size_t runfiles_ind = runfiles_dir.rfind (runfiles_suffix);
54
54
cuda_nvcc_dir = io::JoinPath (
55
55
runfiles_dir.substr (0 , runfiles_ind + runfiles_suffix.length ()),
56
56
" cuda_nvcc" );
57
- roots.emplace_back (cuda_nvcc_dir);
57
+ roots.push_back (cuda_nvcc_dir);
58
58
59
- roots.emplace_back (TF_CUDA_TOOLKIT_PATH);
59
+ roots.push_back (TF_CUDA_TOOLKIT_PATH);
60
60
roots.emplace_back (std::string (" /usr/local/cuda" ));
61
61
62
62
#if defined(PLATFORM_POSIX) && !defined(__APPLE__)
You can’t perform that action at this time.
0 commit comments