mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rename read file callback.
This commit is contained in:
@@ -40,7 +40,7 @@ public:
|
||||
/// Creates a new StandardCompiler.
|
||||
/// @param _readFile callback to used to read files for import statements. Must return
|
||||
/// and must not emit exceptions.
|
||||
explicit StandardCompiler(ReadFile::Callback const& _readFile = ReadFile::Callback())
|
||||
explicit StandardCompiler(ReadCallback::Callback const& _readFile = ReadCallback::Callback())
|
||||
: m_compilerStack(_readFile), m_readFile(_readFile)
|
||||
{
|
||||
}
|
||||
@@ -56,7 +56,7 @@ private:
|
||||
Json::Value compileInternal(Json::Value const& _input);
|
||||
|
||||
CompilerStack m_compilerStack;
|
||||
ReadFile::Callback m_readFile;
|
||||
ReadCallback::Callback m_readFile;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user