aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/CompilerStack.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-21 05:01:24 +0800
committerGitHub <noreply@github.com>2018-06-21 05:01:24 +0800
commitedc0530452782ee82b35185579ce5fb7e4584a90 (patch)
tree740cfdd1450381d83993c5607e3ae24a6e5658ef /libsolidity/interface/CompilerStack.h
parentba7fbf11e72a4f9da149ac3c9b4c908e4f215250 (diff)
parent0a632011be455d108eebc8a338346cfa2d40e527 (diff)
downloaddexon-solidity-edc0530452782ee82b35185579ce5fb7e4584a90.tar
dexon-solidity-edc0530452782ee82b35185579ce5fb7e4584a90.tar.gz
dexon-solidity-edc0530452782ee82b35185579ce5fb7e4584a90.tar.bz2
dexon-solidity-edc0530452782ee82b35185579ce5fb7e4584a90.tar.lz
dexon-solidity-edc0530452782ee82b35185579ce5fb7e4584a90.tar.xz
dexon-solidity-edc0530452782ee82b35185579ce5fb7e4584a90.tar.zst
dexon-solidity-edc0530452782ee82b35185579ce5fb7e4584a90.zip
Merge pull request #4323 from ethereum/compilerstack-cleanup
Reorder some of the flow in CompilerStack::compileContract for readability
Diffstat (limited to 'libsolidity/interface/CompilerStack.h')
-rw-r--r--libsolidity/interface/CompilerStack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h
index 13c9cc7a..018c61ec 100644
--- a/libsolidity/interface/CompilerStack.h
+++ b/libsolidity/interface/CompilerStack.h
@@ -273,9 +273,9 @@ 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.
- std::string absolutePath(std::string const& _path, std::string const& _reference) const;
+ static std::string absolutePath(std::string const& _path, std::string const& _reference);
/// Helper function to return path converted strings.
- std::string sanitizePath(std::string const& _path) const { return boost::filesystem::path(_path).generic_string(); }
+ 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;