aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/StandardCompiler.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-04-19 21:11:31 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-04-21 02:38:00 +0800
commit413c146eddb744f6b5d8dc248f63f4d46449306b (patch)
tree5f0fd29a0aad3b9cebdb94bfeef540230c362e4e /libsolidity/interface/StandardCompiler.cpp
parentaa0776d5e806be8f10ebcc21210ed25290c33598 (diff)
downloaddexon-solidity-413c146eddb744f6b5d8dc248f63f4d46449306b.tar.gz
dexon-solidity-413c146eddb744f6b5d8dc248f63f4d46449306b.tar.zst
dexon-solidity-413c146eddb744f6b5d8dc248f63f4d46449306b.zip
Enclose local functions in a namespace
Diffstat (limited to 'libsolidity/interface/StandardCompiler.cpp')
-rw-r--r--libsolidity/interface/StandardCompiler.cpp4
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);