Update libyul/optimiser/KnowledgeBase.cpp

Co-authored-by: matheusaaguiar <95899911+matheusaaguiar@users.noreply.github.com>
This commit is contained in:
chriseth 2022-11-30 10:06:44 +01:00 committed by GitHub
parent 53a44bd5ae
commit 5c85818f50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ optional<u256> KnowledgeBase::differenceIfKnownConstant(YulString _a, YulString
if (offA.reference == offB.reference)
return offA.offset - offB.offset;
else
return {};
return nullopt;
}