Moving Source Location libdevcore

- Big plus is we now remove the useless header libsolibity/BaseTypes.h
This commit is contained in:
Lefteris Karapetsas 2015-02-23 17:14:59 +01:00
parent a24e0b5b15
commit a269adb549

View File

@ -50,7 +50,7 @@ public:
string getSourcePart(ASTNode const& _node) const
{
Location location = _node.getLocation();
SourceLocation location = _node.getLocation();
BOOST_REQUIRE(!location.isEmpty());
return m_interface.substr(location.start, location.end - location.start);
}