mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Style fix.
This commit is contained in:
parent
31dc588b55
commit
e32a063a10
@ -80,7 +80,8 @@ public:
|
|||||||
|
|
||||||
/// Adds a source object (e.g. file) to the parser. After this, parse has to be called again.
|
/// Adds a source object (e.g. file) to the parser. After this, parse has to be called again.
|
||||||
/// @returns true if a source object by the name already existed and was replaced.
|
/// @returns true if a source object by the name already existed and was replaced.
|
||||||
void addSources(StringMap const& _nameContents, bool _isLibrary = false) {
|
void addSources(StringMap const& _nameContents, bool _isLibrary = false)
|
||||||
|
{
|
||||||
for (auto const& i: _nameContents) addSource(i.first, i.second, _isLibrary);
|
for (auto const& i: _nameContents) addSource(i.first, i.second, _isLibrary);
|
||||||
}
|
}
|
||||||
bool addSource(std::string const& _name, std::string const& _content, bool _isLibrary = false);
|
bool addSource(std::string const& _name, std::string const& _content, bool _isLibrary = false);
|
||||||
|
Loading…
Reference in New Issue
Block a user