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:
1 parent
b364bd048f
commit
7fb4a64136
8 files changed
+36
-5
No files matched your search
@@ -24,6 +24,8 @@
|
||||
using namespace std;
|
||||
using namespace dev;
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
bytes toLittleEndian(size_t _size)
|
||||
{
|
||||
@@ -59,6 +61,8 @@ h256 swarmHashIntermediate(string const& _input, size_t _offset, size_t _length)
|
||||
return swarmHashSimple(ref, _length);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
h256 dev::swarmHash(string const& _input)
|
||||
{
|
||||
return swarmHashIntermediate(_input, 0, _input.size());
|
||||
|
||||
Reference in new issue
Block a user