Build fix.

This commit is contained in:
chriseth
2017-04-25 16:49:04 +02:00
parent 478f2997ea
commit 978884d9ca
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -176,11 +176,11 @@ bool ReferencesResolver::visit(InlineAssembly const& _inlineAssembly)
if (!declarations.empty())
// the special identifier exists itself, we should not allow that.
return size_t(-1);
string realName = _identifier.name.substr(0,
_identifier.name.size() - isSlot ?
string realName = _identifier.name.substr(0, _identifier.name.size() - (
isSlot ?
string("_slot").size() :
string("_offset").size()
);
));
declarations = m_resolver.nameFromCurrentScope(realName);
}
if (declarations.size() != 1)