mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Moving Source Location libdevcore
- Big plus is we now remove the useless header libsolibity/BaseTypes.h
This commit is contained in:
parent
a24e0b5b15
commit
a269adb549
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user