aboutsummaryrefslogtreecommitdiffstats
path: root/CommandLineInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'CommandLineInterface.h')
-rw-r--r--CommandLineInterface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/CommandLineInterface.h b/CommandLineInterface.h
index 2862773b..79029f9d 100644
--- a/CommandLineInterface.h
+++ b/CommandLineInterface.h
@@ -21,9 +21,9 @@
*/
#pragma once
-#include <boost/program_options.hpp>
-
#include <libsolidity/CompilerStack.h>
+#include <memory>
+#include <boost/program_options.hpp>
namespace dev
{
@@ -65,7 +65,7 @@ private:
/// map of input files to source code strings
std::map<std::string, std::string> m_sourceCodes;
/// Solidity compiler stack
- dev::solidity::CompilerStack m_compiler;
+ std::unique_ptr<dev::solidity::CompilerStack> m_compiler;
};
}