aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/StandardCompiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/interface/StandardCompiler.h')
-rw-r--r--libsolidity/interface/StandardCompiler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/interface/StandardCompiler.h b/libsolidity/interface/StandardCompiler.h
index 12d85aad..0182027d 100644
--- a/libsolidity/interface/StandardCompiler.h
+++ b/libsolidity/interface/StandardCompiler.h
@@ -40,7 +40,7 @@ public:
/// Creates a new StandardCompiler.
/// @param _readFile callback to used to read files for import statements. Should return
StandardCompiler(ReadFile::Callback const& _readFile = ReadFile::Callback())
- : m_compilerStack(_readFile)
+ : m_compilerStack(_readFile), m_readFile(_readFile)
{
}
@@ -55,6 +55,7 @@ private:
Json::Value compileInternal(Json::Value const& _input);
CompilerStack m_compilerStack;
+ ReadFile::Callback const& m_readFile;
};
}