aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/CompilerStack.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-09-22 18:07:34 +0800
committerchriseth <c@ethdev.com>2015-09-22 18:07:34 +0800
commite32a063a10b41efeffeec451188b2f3466c8b308 (patch)
treef1feba9a9977ea804f9e3425e40ecac3280aa760 /libsolidity/CompilerStack.h
parent31dc588b55435c40dab64d31d64d876237df1e68 (diff)
downloaddexon-solidity-e32a063a10b41efeffeec451188b2f3466c8b308.tar.gz
dexon-solidity-e32a063a10b41efeffeec451188b2f3466c8b308.tar.zst
dexon-solidity-e32a063a10b41efeffeec451188b2f3466c8b308.zip
Style fix.
Diffstat (limited to 'libsolidity/CompilerStack.h')
-rw-r--r--libsolidity/CompilerStack.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/CompilerStack.h b/libsolidity/CompilerStack.h
index 235bdaa2..e541ea47 100644
--- a/libsolidity/CompilerStack.h
+++ b/libsolidity/CompilerStack.h
@@ -80,7 +80,8 @@ public:
/// 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.
- 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);
}
bool addSource(std::string const& _name, std::string const& _content, bool _isLibrary = false);