Skip to content

Commit c91c204

Browse files
authored
Merge pull request #15675 from gmh5225/fix-compilation
Fix MSVC compilation error on `EVMVersion` comparison
2 parents e20c206 + 15796ba commit c91c204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

liblangutil/EVMVersion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ using namespace solidity::langutil;
2929
bool EVMVersion::hasOpcode(Instruction _opcode, std::optional<uint8_t> _eofVersion) const
3030
{
3131
// EOF version can be only defined since prague
32-
assert(!_eofVersion.has_value() || this->m_version >= prague());
32+
assert(!_eofVersion.has_value() || *this >= prague());
3333

3434
switch (_opcode)
3535
{

0 commit comments

Comments
 (0)