Merge pull request #5777 from ethereum/windowsCodeSizeFix

Avoid redundant copy of Block due to implicit conversion to Statement in CodeSize visit.
This commit is contained in:
Christian Parpart 2019-01-11 13:42:57 +01:00 committed by GitHub
commit 94688d2fa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ size_t CodeSize::codeSize(Expression const& _expression)
size_t CodeSize::codeSize(Block const& _block)
{
CodeSize cs;
cs.visit(_block);
cs(_block);
return cs.m_size;
}