Move all file specific globals to anonymous namespace

This commit is contained in:
Alex Beregszaszi committed 2017-08-29 11:09:18 +01:00
1 parent b364bd048f
commit 7fb4a64136
8 files changed
+36 -5

No files matched your search

+4 -2
View File
@@ -31,8 +31,8 @@ using namespace dev::test;
namespace // anonymous
{
h256 const EmptyTrie("0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421");
}
h256 const EmptyTrie("0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421");
string getIPCSocketPath()
{
@@ -43,6 +43,8 @@ string getIPCSocketPath()
return ipcPath;
}
}
ExecutionFramework::ExecutionFramework() :
m_rpc(RPCSession::instance(getIPCSocketPath())),
m_optimize(dev::test::Options::get().optimize),