diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-04-19 21:11:31 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-04-21 02:38:00 +0800 |
commit | 413c146eddb744f6b5d8dc248f63f4d46449306b (patch) | |
tree | 5f0fd29a0aad3b9cebdb94bfeef540230c362e4e | |
parent | aa0776d5e806be8f10ebcc21210ed25290c33598 (diff) | |
download | dexon-solidity-413c146eddb744f6b5d8dc248f63f4d46449306b.tar.gz dexon-solidity-413c146eddb744f6b5d8dc248f63f4d46449306b.tar.zst dexon-solidity-413c146eddb744f6b5d8dc248f63f4d46449306b.zip |
Enclose local functions in a namespace
-rw-r--r-- | libsolidity/interface/StandardCompiler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsolidity/interface/StandardCompiler.cpp b/libsolidity/interface/StandardCompiler.cpp index a2909fa3..6cfe6f3a 100644 --- a/libsolidity/interface/StandardCompiler.cpp +++ b/libsolidity/interface/StandardCompiler.cpp @@ -30,6 +30,8 @@ using namespace std; using namespace dev; using namespace dev::solidity; +namespace { + Json::Value formatError( bool _warning, string const& _type, @@ -134,6 +136,8 @@ Json::Value formatLinkReferences(std::map<size_t, std::string> const& linkRefere return ret; } +} + Json::Value StandardCompiler::compileInternal(Json::Value const& _input) { m_compilerStack.reset(false); |