Commit 1e151eef authored by Dominik Charousset's avatar Dominik Charousset

Fix ambiguity error if move is found in namespace

parent 29538469
......@@ -67,7 +67,7 @@ cache_map& get_cache_map() {
pthread_setspecific(s_key, cache);
// insert default types
std::unique_ptr<memory_cache> tmp(new basic_memory_cache<mailbox_element>);
cache->emplace(&typeid(mailbox_element), move(tmp));
cache->emplace(&typeid(mailbox_element), std::move(tmp));
}
return *cache;
}
......@@ -85,7 +85,7 @@ cache_map& get_cache_map() {
s_key = std::unique_ptr<cache_map>(new cache_map);
// insert default types
std::unique_ptr<memory_cache> tmp(new basic_memory_cache<mailbox_element>);
s_key->emplace(&typeid(mailbox_element), move(tmp));
s_key->emplace(&typeid(mailbox_element), std::move(tmp));
}
return *s_key;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment