mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
readFileAsString(): Accept path as boost::filesystem::path instead of string
This commit is contained in:
@@ -430,7 +430,7 @@ bool CommandLineInterface::readInputFiles()
|
||||
}
|
||||
|
||||
// NOTE: we ignore the FileNotFound exception as we manually check above
|
||||
string fileContent = readFileAsString(infile.string());
|
||||
string fileContent = readFileAsString(infile);
|
||||
if (m_options.input.mode == InputMode::StandardJson)
|
||||
{
|
||||
solAssert(!m_standardJsonInput.has_value(), "");
|
||||
|
||||
Reference in New Issue
Block a user