diff options
author | Christian <c@ethdev.com> | 2014-12-08 20:35:06 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-12-09 00:47:02 +0800 |
commit | 9e120d45857506b2f448c2c18a688ff05b19009b (patch) | |
tree | 79b38c6aa0e3bfe67d9707d60cf1e5c71f71505c | |
parent | e8b18e95ce95555f503b92ab7f6fdb67e0630306 (diff) | |
download | dexon-solidity-9e120d45857506b2f448c2c18a688ff05b19009b.tar dexon-solidity-9e120d45857506b2f448c2c18a688ff05b19009b.tar.gz dexon-solidity-9e120d45857506b2f448c2c18a688ff05b19009b.tar.bz2 dexon-solidity-9e120d45857506b2f448c2c18a688ff05b19009b.tar.lz dexon-solidity-9e120d45857506b2f448c2c18a688ff05b19009b.tar.xz dexon-solidity-9e120d45857506b2f448c2c18a688ff05b19009b.tar.zst dexon-solidity-9e120d45857506b2f448c2c18a688ff05b19009b.zip |
Consts in SourceReferenceFormatter.
-rw-r--r-- | SourceReferenceFormatter.cpp | 2 | ||||
-rw-r--r-- | SourceReferenceFormatter.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/SourceReferenceFormatter.cpp b/SourceReferenceFormatter.cpp index 1a7d12a9..c61f9b68 100644 --- a/SourceReferenceFormatter.cpp +++ b/SourceReferenceFormatter.cpp @@ -61,7 +61,7 @@ void SourceReferenceFormatter::printSourceLocation(ostream& _stream, void SourceReferenceFormatter::printExceptionInformation(ostream& _stream, Exception const& _exception, string const& _name, - CompilerStack& _compiler) + CompilerStack const& _compiler) { Location const* location = boost::get_error_info<errinfo_sourceLocation>(_exception); Scanner const* scanner; diff --git a/SourceReferenceFormatter.h b/SourceReferenceFormatter.h index 9b556704..8e3f126f 100644 --- a/SourceReferenceFormatter.h +++ b/SourceReferenceFormatter.h @@ -41,7 +41,7 @@ struct SourceReferenceFormatter public: static void printSourceLocation(std::ostream& _stream, Location const& _location, Scanner const& _scanner); static void printExceptionInformation(std::ostream& _stream, Exception const& _exception, - std::string const& _name, CompilerStack& _compiler); + std::string const& _name, CompilerStack const& _compiler); }; } |