fix -Wreturn-std-move

This commit is contained in:
wmayer
2019-09-07 15:19:28 +02:00
parent cc2e507817
commit d05ae18340
8 changed files with 14 additions and 14 deletions

View File

@@ -374,7 +374,7 @@ QIcon ViewProviderPythonFeatureImp::getIcon() const
std::vector<App::DocumentObject*>
ViewProviderPythonFeatureImp::claimChildren(std::vector<App::DocumentObject*>&& base) const
{
_FC_PY_CALL_CHECK(claimChildren,return(base));
_FC_PY_CALL_CHECK(claimChildren,return (std::move(base)));
std::vector<App::DocumentObject*> children;
Base::PyGILStateLocker lock;