[ox/std] Deprecate ox::move
This commit is contained in:
2
deps/ox/src/ox/claw/read.hpp
vendored
2
deps/ox/src/ox/claw/read.hpp
vendored
@@ -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>
|
||||
|
4
deps/ox/src/ox/claw/write.hpp
vendored
4
deps/ox/src/ox/claw/write.hpp
vendored
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user