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 authored and GitHub committed 2019-01-11 13:42:57 +01:00
commit 94688d2fa2
1 file changed
+1 -1
+1 -1
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;
}