[ox/std] Deprecate ox::move

This commit is contained in:
2021-12-01 02:55:24 -06:00
parent e0364925a3
commit 37664ede05
18 changed files with 36 additions and 32 deletions

View File

@@ -99,8 +99,8 @@ HashMap<K, T>::HashMap(const HashMap<K, T> &other) {
template<typename K, typename T>
HashMap<K, T>::HashMap(HashMap<K, T> &&other) {
m_keys = move(other.m_keys);
m_pairs = move(other.m_pairs);
m_keys = std::move(other.m_keys);
m_pairs = std::move(other.m_pairs);
}
template<typename K, typename T>
@@ -136,8 +136,8 @@ template<typename K, typename T>
HashMap<K, T> &HashMap<K, T>::operator=(HashMap<K, T> &&other) {
if (this != &other) {
clear();
m_keys = move(other.m_keys);
m_pairs = move(other.m_pairs);
m_keys = std::move(other.m_keys);
m_pairs = std::move(other.m_pairs);
}
return *this;
}