Consts in SourceReferenceFormatter.

This commit is contained in:
Christian
2014-12-08 17:47:02 +01:00
parent e8b18e95ce
commit 9e120d4585
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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);
};
}