Enclose local functions in a namespace

This commit is contained in:
Alex Beregszaszi 2017-04-19 14:11:31 +01:00
parent aa0776d5e8
commit 413c146edd

View File

@ -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);