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:
@@ -35,6 +35,9 @@
|
||||
using namespace std;
|
||||
using namespace dev;
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
template <typename _T>
|
||||
inline _T contentsGeneric(std::string const& _file)
|
||||
{
|
||||
@@ -56,6 +59,8 @@ inline _T contentsGeneric(std::string const& _file)
|
||||
return ret;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
string dev::contentsString(string const& _file)
|
||||
{
|
||||
return contentsGeneric<string>(_file);
|
||||
|
||||
Reference in New Issue
Block a user