Commit 06a2788a authored by Dominik Charousset's avatar Dominik Charousset

Remove redundant move

parent 823ad2cc
......@@ -427,7 +427,7 @@ make_message(T&& x, Ts&&... xs) {
/// Returns a copy of @p other.
/// @relates message
inline message make_message(message other) {
return std::move(other);
return other;
}
/// Returns an empty `message`.
......
......@@ -144,7 +144,7 @@ convert_to_str(T value) {
}
inline std::string convert_to_str(std::string value) {
return std::move(value);
return value;
}
} // namespace caf
......
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