mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move all file specific globals to anonymous namespace
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user