[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

@@ -63,7 +63,7 @@ template<typename T>
Result<T> readClaw(const char *buff, std::size_t buffLen) {
T val;
oxReturnError(readClaw(buff, buffLen, &val));
return move(val);
return std::move(val);
}
template<typename T>

View File

@@ -77,7 +77,7 @@ Result<String> writeClawHeader(T *t, ClawFormat fmt) noexcept {
out += tn;
}
out += ";";
return move(out);
return std::move(out);
}
}
@@ -89,7 +89,7 @@ Result<Buffer> writeClaw(T *t, ClawFormat fmt) {
Buffer out(header.len() + data.size());
memcpy(out.data(), header.data(), header.len());
memcpy(out.data() + header.len(), data.data(), data.size());
return move(out);
return std::move(out);
}
}