Skip to content

Commit 1642068

Browse files
committed
refactor: remove redundant move
1 parent b02a2ad commit 1642068

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/pybind11_json/pybind11_json.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ namespace pyjson
5454
{
5555
obj[i] = from_json(j[i]);
5656
}
57-
return std::move(obj);
57+
return obj;
5858
}
5959
else // Object
6060
{
@@ -63,7 +63,7 @@ namespace pyjson
6363
{
6464
obj[py::str(it.key())] = from_json(it.value());
6565
}
66-
return std::move(obj);
66+
return obj;
6767
}
6868
}
6969

0 commit comments

Comments
 (0)