diff options
author | chriseth <chris@ethereum.org> | 2018-08-07 22:15:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-07 22:15:49 +0800 |
commit | 901550e473f001d2c6666870d71dbf0b9ff8c1ff (patch) | |
tree | 8386cd8229ab7faf39787bc4b3ab92bd5e573a52 /libsolidity/interface/CompilerStack.h | |
parent | a949cffd248cf83a6afa4d5a45376d65b720ba52 (diff) | |
parent | 3de0b8b7f002bdc76e629f89df73523b36a169f5 (diff) | |
download | dexon-solidity-901550e473f001d2c6666870d71dbf0b9ff8c1ff.tar.gz dexon-solidity-901550e473f001d2c6666870d71dbf0b9ff8c1ff.tar.zst dexon-solidity-901550e473f001d2c6666870d71dbf0b9ff8c1ff.zip |
Merge pull request #4692 from ethereum/devcore-path
Move absolutePath/sanitizePath helpers from CompilerStack to libdevcore
Diffstat (limited to 'libsolidity/interface/CompilerStack.h')
-rw-r--r-- | libsolidity/interface/CompilerStack.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h index b7d07ca7..2234a8c9 100644 --- a/libsolidity/interface/CompilerStack.h +++ b/libsolidity/interface/CompilerStack.h @@ -36,7 +36,6 @@ #include <json/json.h> #include <boost/noncopyable.hpp> -#include <boost/filesystem.hpp> #include <ostream> #include <string> @@ -267,12 +266,6 @@ private: std::string applyRemapping(std::string const& _path, std::string const& _context); void resolveImports(); - /// @returns the absolute path corresponding to @a _path relative to @a _reference. - static std::string absolutePath(std::string const& _path, std::string const& _reference); - - /// Helper function to return path converted strings. - static std::string sanitizePath(std::string const& _path) { return boost::filesystem::path(_path).generic_string(); } - /// @returns true if the contract is requested to be compiled. bool isRequestedContract(ContractDefinition const& _contract) const; |