mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Enclose local functions in a namespace
This commit is contained in:
parent
aa0776d5e8
commit
413c146edd
@ -30,6 +30,8 @@ using namespace std;
|
|||||||
using namespace dev;
|
using namespace dev;
|
||||||
using namespace dev::solidity;
|
using namespace dev::solidity;
|
||||||
|
|
||||||
|
namespace {
|
||||||
|
|
||||||
Json::Value formatError(
|
Json::Value formatError(
|
||||||
bool _warning,
|
bool _warning,
|
||||||
string const& _type,
|
string const& _type,
|
||||||
@ -134,6 +136,8 @@ Json::Value formatLinkReferences(std::map<size_t, std::string> const& linkRefere
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Json::Value StandardCompiler::compileInternal(Json::Value const& _input)
|
Json::Value StandardCompiler::compileInternal(Json::Value const& _input)
|
||||||
{
|
{
|
||||||
m_compilerStack.reset(false);
|
m_compilerStack.reset(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user