Move all file specific globals to anonymous namespace

This commit is contained in:
Alex Beregszaszi
2017-08-29 11:09:18 +01:00
parent b364bd048f
commit 7fb4a64136
8 changed files with 36 additions and 5 deletions
+5
View File
@@ -39,6 +39,9 @@ using namespace std;
using namespace dev;
using namespace dev::solidity;
namespace
{
/**
* Simple helper class to ensure that the stack height is the same at certain places in the code.
*/
@@ -53,6 +56,8 @@ private:
unsigned stackHeight;
};
}
void ContractCompiler::compileContract(
ContractDefinition const& _contract,
std::map<const ContractDefinition*, eth::Assembly const*> const& _contracts