File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ llvm::StringRef HostInfoLinux::GetDistributionId() {
123
123
if (strstr (distribution_id, distributor_id_key)) {
124
124
// strip newlines
125
125
std::string id_string (distribution_id + strlen (distributor_id_key));
126
- llvm::erase_value (id_string, ' \n ' );
126
+ llvm::erase (id_string, ' \n ' );
127
127
128
128
// lower case it and convert whitespace to underscores
129
129
std::transform (
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ void JITLoaderList::Append(const JITLoaderSP &jit_loader_sp) {
24
24
25
25
void JITLoaderList::Remove (const JITLoaderSP &jit_loader_sp) {
26
26
std::lock_guard<std::recursive_mutex> guard (m_jit_loaders_mutex);
27
- llvm::erase_value (m_jit_loaders_vec, jit_loader_sp);
27
+ llvm::erase (m_jit_loaders_vec, jit_loader_sp);
28
28
}
29
29
30
30
size_t JITLoaderList::GetSize () const { return m_jit_loaders_vec.size (); }
You can’t perform that action at this time.
0 commit comments