Merge pull request #13932 from lemenkov/redundant_std_move

libsolidity: Redundant std::move
This commit is contained in:
Daniel 2023-02-07 15:29:41 +01:00 committed by GitHub
commit 82fdc6fccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -923,7 +923,7 @@ public:
ASTPointer<ParameterList> const& _returnParameters, ASTPointer<ParameterList> const& _returnParameters,
ASTPointer<Block> const& _body ASTPointer<Block> const& _body
): ):
CallableDeclaration(_id, _location, _name, std::move(_nameLocation), _visibility, _parameters, _isVirtual, _overrides, _returnParameters), CallableDeclaration(_id, _location, _name, _nameLocation, _visibility, _parameters, _isVirtual, _overrides, _returnParameters),
StructurallyDocumented(_documentation), StructurallyDocumented(_documentation),
ImplementationOptional(_body != nullptr), ImplementationOptional(_body != nullptr),
m_stateMutability(_stateMutability), m_stateMutability(_stateMutability),